基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-06 21:27:12 HTTP/1.1 GET : zxcdn02.saascdn.co/category/all?page=7
- 运行时间 : 0.309301s [ 吞吐率:3.23req/s ] 内存消耗:4,050.84kb 文件加载:339
- 查询信息 : [耗时:0.096057s/0.309301 31.06% ] 78 queries ,7 writes
- 缓存信息 : 21 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=hkl7eakmnkefjmrhmmdr5ea0h8
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000347s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000087s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxcdn02.saascdn.co',
'x-forwarded-for' => '216.73.216.159',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'zxcdn02.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '7',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004368s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000030s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000061s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1722842121525:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/arise/template/product_lists.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'category',
39 => 'filters',
40 => 'price',
41 => 'oldprice',
42 => 'oldsku',
43 => 'oldsupplier',
44 => 'productList',
45 => 'appends',
46 => 'product_review',
47 => 'empty',
48 => 'view',
49 => 'order',
50 => 'limit',
51 => 'seotitle',
52 => 'seokeywords',
53 => 'seodescription',
54 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003016s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.059767s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002261s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003758s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002120s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001740s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001795s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001189s ]
- [ VIEW ] /wwwroot/template/arise/../arise/template/product_featured.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.057686s ]
- [ VIEW ] /wwwroot/addons/marketingnotify/view/global_footer.html [ array (
0 => 'data',
1 => 'is_mobile',
2 => 'theme_key',
3 => 'theme_id',
) ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.038877s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001934s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001005s ]
- 1/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.059767s ] [0.059767s/0.180218s=33.16%]
- 2/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.057686s ] [0.057686s/0.180218s=32.01%]
- 3/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.038877s ] [0.038877s/0.180218s=21.57%]
- 4/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004368s ] [0.004368s/0.180218s=2.42%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003758s ] [0.003758s/0.180218s=2.09%]
- 6/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003016s ] [0.003016s/0.180218s=1.67%]
- 7/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002261s ] [0.002261s/0.180218s=1.25%]
- 8/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002120s ] [0.002120s/0.180218s=1.18%]
- 9/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001934s ] [0.001934s/0.180218s=1.07%]
- 10/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001795s ] [0.001795s/0.180218s=1.00%]
- 11/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001740s ] [0.001740s/0.180218s=0.97%]
- 12/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001189s ] [0.001189s/0.180218s=0.66%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001005s ] [0.001005s/0.180218s=0.56%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000347s ] [0.000347s/0.180218s=0.19%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000087s ] [0.000087s/0.180218s=0.05%]
- 16/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ] [0.000076s/0.180218s=0.04%]
- 17/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ] [0.000063s/0.180218s=0.03%]
- 18/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000061s ] [0.000061s/0.180218s=0.03%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000030s ] [0.000030s/0.180218s=0.02%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ] [0.000027s/0.180218s=0.01%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.180218s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.003176s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001411s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001078s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000889s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000813s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000745s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000802s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001235s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765027632 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hkl7eakmnkefjmrhmmdr5ea0h8' AND `createtime` > 1764768432 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000988s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000743s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000605s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'hkl7eakmnkefjmrhmmdr5ea0h8' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001484s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000738s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000773s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001151s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000715s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000682s ]
- [ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1765027632 and b.endtime > 1765027632 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(5, category_ids) ) OR ( find_in_set(15, category_ids) ) OR ( find_in_set(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002661s ]
- [ SQL ] select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (188,187,186,185,184,183,182,181,180,179,178,177,176,174,173,172,171,170,168,167,166,165,164,163,161,160,159,158,157,155,154,153,152,151,150,149,114,113,112,111,110,109,108,107,106,105,104,103,102,101,100,99,98,97,96,95,94,92,91,90,89,87,86,85,81,80,74,73,70,69,66,55,54,48,35,34,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,16,15,12,10,9,8,7,6) group by binary(p.name), binary(p1.name); [ RunTime:0.005470s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000818s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000700s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1765027632 and b.endtime > 1765027632 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(5, category_ids) ) OR ( find_in_set(15, category_ids) ) OR ( find_in_set(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001818s ]
- [ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1765027632 and b.endtime > 1765027632 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(5, category_ids) ) OR ( find_in_set(15, category_ids) ) OR ( find_in_set(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 72,12 [ RunTime:0.002183s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (54,48,35,34,32,31,30,29,28,27,26,25) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000968s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (54,48,35,34,32,31,30,29,28,27,26,25) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001481s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765027632 > starttime && 1765027632 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001054s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.000966s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001037s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001023s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000957s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000841s ]
- [ SQL ] select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 1
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001876s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000983s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001132s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000821s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000918s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 32 LIMIT 1 [ RunTime:0.001047s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 90 AND `status` = '1' LIMIT 1 [ RunTime:0.000706s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 31 LIMIT 1 [ RunTime:0.000828s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 87 AND `status` = '1' LIMIT 1 [ RunTime:0.000869s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 30 LIMIT 1 [ RunTime:0.001199s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 91 AND `status` = '1' LIMIT 1 [ RunTime:0.000776s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 29 LIMIT 1 [ RunTime:0.000786s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 115 AND `status` = '1' LIMIT 1 [ RunTime:0.000750s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 28 LIMIT 1 [ RunTime:0.001058s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 88 AND `status` = '1' LIMIT 1 [ RunTime:0.000956s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 27 LIMIT 1 [ RunTime:0.000855s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 83 AND `status` = '1' LIMIT 1 [ RunTime:0.000766s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 26 LIMIT 1 [ RunTime:0.000910s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 85 AND `status` = '1' LIMIT 1 [ RunTime:0.000979s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 25 LIMIT 1 [ RunTime:0.000787s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 82 AND `status` = '1' LIMIT 1 [ RunTime:0.000768s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000915s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [ RunTime:0.001302s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001040s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.005216s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001132s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000956s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000798s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [ RunTime:0.000891s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000855s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000755s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000846s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000893s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000860s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000869s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000685s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000798s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001489s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000799s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000761s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000802s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000742s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000910s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001025s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000787s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000846s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000796s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000731s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001653s ]
- [ SQL ] SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [ RunTime:0.001337s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [ RunTime:0.001064s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001005s ]
- 1/86 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (188,187,186,185,184,183,182,181,180,179,178,177,176,174,173,172,171,170,168,167,166,165,164,163,161,160,159,158,157,155,154,153,152,151,150,149,114,113,112,111,110,109,108,107,106,105,104,103,102,101,100,99,98,97,96,95,94,92,91,90,89,87,86,85,81,80,74,73,70,69,66,55,54,48,35,34,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,16,15,12,10,9,8,7,6) group by binary(p.name), binary(p1.name); [0.005470s/0.096057s=5.69%]
- 2/86 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.005216s/0.096057s=5.43%]
- 3/86 . CONNECT:[ UseTime:0.003176s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4 [0.003176s/0.096057s=3.31%]
- 4/86 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1765027632 and b.endtime > 1765027632 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(5, category_ids) ) OR ( find_in_set(15, category_ids) ) OR ( find_in_set(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002661s/0.096057s=2.77%]
- 5/86 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1765027632 and b.endtime > 1765027632 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(5, category_ids) ) OR ( find_in_set(15, category_ids) ) OR ( find_in_set(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 72,12 [0.002183s/0.096057s=2.27%]
- 6/86 . select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 1
and p.status = "up" and p.deletetime is null limit 40 [0.001876s/0.096057s=1.95%]
- 7/86 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1765027632 and b.endtime > 1765027632 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(5, category_ids) ) OR ( find_in_set(15, category_ids) ) OR ( find_in_set(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001818s/0.096057s=1.89%]
- 8/86 . SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.001653s/0.096057s=1.72%]
- 9/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001489s/0.096057s=1.55%]
- 10/86 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'hkl7eakmnkefjmrhmmdr5ea0h8' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001484s/0.096057s=1.54%]
- 11/86 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (54,48,35,34,32,31,30,29,28,27,26,25) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001481s/0.096057s=1.54%]
- 12/86 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001411s/0.096057s=1.47%]
- 13/86 . SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [0.001337s/0.096057s=1.39%]
- 14/86 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [0.001302s/0.096057s=1.36%]
- 15/86 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001235s/0.096057s=1.29%]
- 16/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 30 LIMIT 1 [0.001199s/0.096057s=1.25%]
- 17/86 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001151s/0.096057s=1.20%]
- 18/86 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001132s/0.096057s=1.18%]
- 19/86 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001132s/0.096057s=1.18%]
- 20/86 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001078s/0.096057s=1.12%]
- 21/86 . SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [0.001064s/0.096057s=1.11%]
- 22/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 28 LIMIT 1 [0.001058s/0.096057s=1.10%]
- 23/86 . SELECT * FROM `activity` WHERE ( ( 1765027632 > starttime && 1765027632 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001054s/0.096057s=1.10%]
- 24/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 32 LIMIT 1 [0.001047s/0.096057s=1.09%]
- 25/86 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [0.001040s/0.096057s=1.08%]
- 26/86 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001037s/0.096057s=1.08%]
- 27/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001025s/0.096057s=1.07%]
- 28/86 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001023s/0.096057s=1.06%]
- 29/86 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001005s/0.096057s=1.05%]
- 30/86 . UPDATE `cart` SET `deletetime`=1765027632 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hkl7eakmnkefjmrhmmdr5ea0h8' AND `createtime` > 1764768432 ) AND `cart`.`deletetime` IS NULL [0.000988s/0.096057s=1.03%]
- 31/86 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000983s/0.096057s=1.02%]
- 32/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 85 AND `status` = '1' LIMIT 1 [0.000979s/0.096057s=1.02%]
- 33/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000973s/0.096057s=1.01%]
- 34/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000973s/0.096057s=1.01%]
- 35/86 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (54,48,35,34,32,31,30,29,28,27,26,25) ) AND `discuss`.`deletetime` IS NULL [0.000968s/0.096057s=1.01%]
- 36/86 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000966s/0.096057s=1.01%]
- 37/86 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000957s/0.096057s=1.00%]
- 38/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000956s/0.096057s=1.00%]
- 39/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 88 AND `status` = '1' LIMIT 1 [0.000956s/0.096057s=1.00%]
- 40/86 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000918s/0.096057s=0.96%]
- 41/86 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000915s/0.096057s=0.95%]
- 42/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 26 LIMIT 1 [0.000910s/0.096057s=0.95%]
- 43/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000910s/0.096057s=0.95%]
- 44/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000893s/0.096057s=0.93%]
- 45/86 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [0.000891s/0.096057s=0.93%]
- 46/86 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000889s/0.096057s=0.93%]
- 47/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 87 AND `status` = '1' LIMIT 1 [0.000869s/0.096057s=0.90%]
- 48/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000869s/0.096057s=0.90%]
- 49/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000860s/0.096057s=0.90%]
- 50/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000855s/0.096057s=0.89%]
- 51/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 27 LIMIT 1 [0.000855s/0.096057s=0.89%]
- 52/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000846s/0.096057s=0.88%]
- 53/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000846s/0.096057s=0.88%]
- 54/86 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000841s/0.096057s=0.88%]
- 55/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 31 LIMIT 1 [0.000828s/0.096057s=0.86%]
- 56/86 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000821s/0.096057s=0.85%]
- 57/86 . SELECT @@session.sql_mode [0.000818s/0.096057s=0.85%]
- 58/86 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000813s/0.096057s=0.85%]
- 59/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000802s/0.096057s=0.83%]
- 60/86 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000802s/0.096057s=0.83%]
- 61/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000799s/0.096057s=0.83%]
- 62/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000798s/0.096057s=0.83%]
- 63/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000798s/0.096057s=0.83%]
- 64/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000796s/0.096057s=0.83%]
- 65/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000787s/0.096057s=0.82%]
- 66/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 25 LIMIT 1 [0.000787s/0.096057s=0.82%]
- 67/86 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 29 LIMIT 1 [0.000786s/0.096057s=0.82%]
- 68/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000778s/0.096057s=0.81%]
- 69/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 91 AND `status` = '1' LIMIT 1 [0.000776s/0.096057s=0.81%]
- 70/86 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000773s/0.096057s=0.80%]
- 71/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 82 AND `status` = '1' LIMIT 1 [0.000768s/0.096057s=0.80%]
- 72/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 83 AND `status` = '1' LIMIT 1 [0.000766s/0.096057s=0.80%]
- 73/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000761s/0.096057s=0.79%]
- 74/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000755s/0.096057s=0.79%]
- 75/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 115 AND `status` = '1' LIMIT 1 [0.000750s/0.096057s=0.78%]
- 76/86 . set time_zone = '+08:00' [0.000745s/0.096057s=0.78%]
- 77/86 . SELECT @@session.sql_mode [0.000743s/0.096057s=0.77%]
- 78/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000742s/0.096057s=0.77%]
- 79/86 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000738s/0.096057s=0.77%]
- 80/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000731s/0.096057s=0.76%]
- 81/86 . SELECT @@session.sql_mode [0.000715s/0.096057s=0.74%]
- 82/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 90 AND `status` = '1' LIMIT 1 [0.000706s/0.096057s=0.73%]
- 83/86 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000700s/0.096057s=0.73%]
- 84/86 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000685s/0.096057s=0.71%]
- 85/86 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000682s/0.096057s=0.71%]
- 86/86 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000605s/0.096057s=0.63%]
- 1/8. SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [8 times, 0.006998s/0.096057s=7.29%]
- 2/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003762s/0.096057s=3.92%]
- 3/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [4 times, 0.003525s/0.096057s=3.67%]
- 4/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [4 times, 0.003372s/0.096057s=3.51%]
- 5/8. SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [4 times, 0.003315s/0.096057s=3.45%]
- 6/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [4 times, 0.003517s/0.096057s=3.66%]
- 7/8. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [4 times, 0.003701s/0.096057s=3.85%]
- 8/8. SELECT @@session.sql_mode [3 times, 0.002276s/0.096057s=2.37%]
- Facebook track: Use:5.1331996917725ms