基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-06 21:26:03 HTTP/1.1 GET : zxcdn02.saascdn.co/category/all?page=2
- 运行时间 : 0.411906s [ 吞吐率:2.43req/s ] 内存消耗:4,215.95kb 文件加载:339
- 查询信息 : [耗时:0.158135s/0.411906 38.39% ] 66 queries ,7 writes
- 缓存信息 : 21 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=2m9vj9m8c40flbkh357g3gqfbo
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000241s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ 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' => '2',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004520s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000071s ]
- [ 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.007115s ]
- [ 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.063260s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002229s ]
- [ 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.003819s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002075s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001877s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001782s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001082s ]
- [ 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.106481s ]
- [ 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.043205s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.011565s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001000s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.106481s ] [0.106481s/0.250527s=42.50%]
- 2/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.063260s ] [0.063260s/0.250527s=25.25%]
- 3/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.043205s ] [0.043205s/0.250527s=17.25%]
- 4/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.011565s ] [0.011565s/0.250527s=4.62%]
- 5/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.007115s ] [0.007115s/0.250527s=2.84%]
- 6/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004520s ] [0.004520s/0.250527s=1.80%]
- 7/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003819s ] [0.003819s/0.250527s=1.52%]
- 8/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002229s ] [0.002229s/0.250527s=0.89%]
- 9/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002075s ] [0.002075s/0.250527s=0.83%]
- 10/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001877s ] [0.001877s/0.250527s=0.75%]
- 11/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001782s ] [0.001782s/0.250527s=0.71%]
- 12/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001082s ] [0.001082s/0.250527s=0.43%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001000s ] [0.001000s/0.250527s=0.40%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000241s ] [0.000241s/0.250527s=0.10%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000071s ] [0.000071s/0.250527s=0.03%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.250527s=0.02%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ] [0.000046s/0.250527s=0.02%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ] [0.000036s/0.250527s=0.01%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ] [0.000029s/0.250527s=0.01%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.250527s=0.01%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.250527s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.001998s ] 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.001083s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002097s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.002874s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000984s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001585s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001763s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.004710s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765027563 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '2m9vj9m8c40flbkh357g3gqfbo' AND `createtime` > 1764768363 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001714s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000850s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000866s ]
- [ 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` = '2m9vj9m8c40flbkh357g3gqfbo' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002207s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000829s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001535s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002210s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002095s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001028s ]
- [ 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 < 1765027563 and b.endtime > 1765027563 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.004689s ]
- [ 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.023060s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001600s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000729s ]
- [ 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 < 1765027563 and b.endtime > 1765027563 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.002311s ]
- [ 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 < 1765027563 and b.endtime > 1765027563 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 12,12 [ RunTime:0.001942s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (176,174,173,172,171,170,168,167,166,165,164,163) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001066s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (176,174,173,172,171,170,168,167,166,165,164,163) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001814s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765027563 > starttime && 1765027563 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001451s ]
- [ 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.001673s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001119s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000886s ]
- [ 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.001364s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.002273s ]
- [ 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.004350s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000932s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000866s ]
- [ 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.000907s ]
- [ 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.000944s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 173 LIMIT 1 [ RunTime:0.001084s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 142 AND `status` = '1' LIMIT 1 [ RunTime:0.001216s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 165 LIMIT 1 [ RunTime:0.001690s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 133 AND `status` = '1' LIMIT 1 [ RunTime:0.001009s ]
- [ 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.001349s ]
- [ 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.003102s ]
- [ 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.001586s ]
- [ 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.006094s ]
- [ 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.001484s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001054s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000937s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [ RunTime:0.002053s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001838s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.005474s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.002112s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.002219s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001012s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000884s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001130s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001052s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001325s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001092s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.002522s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001352s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001061s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.005536s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001229s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001213s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001727s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.002871s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.002829s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001540s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.002367s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001669s ]
- [ 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.002130s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [ RunTime:0.002546s ]
- [ 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.001303s ]
- 1/74 . 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.023060s/0.158135s=14.58%]
- 2/74 . 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.006094s/0.158135s=3.85%]
- 3/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.005536s/0.158135s=3.50%]
- 4/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.005474s/0.158135s=3.46%]
- 5/74 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.004710s/0.158135s=2.98%]
- 6/74 . 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 < 1765027563 and b.endtime > 1765027563 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.004689s/0.158135s=2.97%]
- 7/74 . 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.004350s/0.158135s=2.75%]
- 8/74 . 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.003102s/0.158135s=1.96%]
- 9/74 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.002874s/0.158135s=1.82%]
- 10/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.002871s/0.158135s=1.82%]
- 11/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.002829s/0.158135s=1.79%]
- 12/74 . SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [0.002546s/0.158135s=1.61%]
- 13/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.002522s/0.158135s=1.59%]
- 14/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.002367s/0.158135s=1.50%]
- 15/74 . 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 < 1765027563 and b.endtime > 1765027563 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.002311s/0.158135s=1.46%]
- 16/74 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.002273s/0.158135s=1.44%]
- 17/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.002219s/0.158135s=1.40%]
- 18/74 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002210s/0.158135s=1.40%]
- 19/74 . 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` = '2m9vj9m8c40flbkh357g3gqfbo' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002207s/0.158135s=1.40%]
- 20/74 . 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.002130s/0.158135s=1.35%]
- 21/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.002112s/0.158135s=1.34%]
- 22/74 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.002097s/0.158135s=1.33%]
- 23/74 . SELECT @@session.sql_mode [0.002095s/0.158135s=1.32%]
- 24/74 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [0.002053s/0.158135s=1.30%]
- 25/74 . CONNECT:[ UseTime:0.001998s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4 [0.001998s/0.158135s=1.26%]
- 26/74 . 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 < 1765027563 and b.endtime > 1765027563 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 12,12 [0.001942s/0.158135s=1.23%]
- 27/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001838s/0.158135s=1.16%]
- 28/74 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (176,174,173,172,171,170,168,167,166,165,164,163) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001814s/0.158135s=1.15%]
- 29/74 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001763s/0.158135s=1.11%]
- 30/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001727s/0.158135s=1.09%]
- 31/74 . UPDATE `cart` SET `deletetime`=1765027563 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '2m9vj9m8c40flbkh357g3gqfbo' AND `createtime` > 1764768363 ) AND `cart`.`deletetime` IS NULL [0.001714s/0.158135s=1.08%]
- 32/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 165 LIMIT 1 [0.001690s/0.158135s=1.07%]
- 33/74 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001673s/0.158135s=1.06%]
- 34/74 . SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.001669s/0.158135s=1.06%]
- 35/74 . SELECT @@session.sql_mode [0.001600s/0.158135s=1.01%]
- 36/74 . 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.001586s/0.158135s=1.00%]
- 37/74 . set time_zone = '+08:00' [0.001585s/0.158135s=1.00%]
- 38/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001540s/0.158135s=0.97%]
- 39/74 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001535s/0.158135s=0.97%]
- 40/74 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001484s/0.158135s=0.94%]
- 41/74 . SELECT * FROM `activity` WHERE ( ( 1765027563 > starttime && 1765027563 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001451s/0.158135s=0.92%]
- 42/74 . 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.001364s/0.158135s=0.86%]
- 43/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001352s/0.158135s=0.85%]
- 44/74 . 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.001349s/0.158135s=0.85%]
- 45/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001325s/0.158135s=0.84%]
- 46/74 . 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.001303s/0.158135s=0.82%]
- 47/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001229s/0.158135s=0.78%]
- 48/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 142 AND `status` = '1' LIMIT 1 [0.001216s/0.158135s=0.77%]
- 49/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001213s/0.158135s=0.77%]
- 50/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001130s/0.158135s=0.71%]
- 51/74 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001119s/0.158135s=0.71%]
- 52/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001092s/0.158135s=0.69%]
- 53/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 173 LIMIT 1 [0.001084s/0.158135s=0.69%]
- 54/74 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001083s/0.158135s=0.68%]
- 55/74 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (176,174,173,172,171,170,168,167,166,165,164,163) ) AND `discuss`.`deletetime` IS NULL [0.001066s/0.158135s=0.67%]
- 56/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001061s/0.158135s=0.67%]
- 57/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001054s/0.158135s=0.67%]
- 58/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001052s/0.158135s=0.67%]
- 59/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001040s/0.158135s=0.66%]
- 60/74 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001028s/0.158135s=0.65%]
- 61/74 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001012s/0.158135s=0.64%]
- 62/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 133 AND `status` = '1' LIMIT 1 [0.001009s/0.158135s=0.64%]
- 63/74 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000984s/0.158135s=0.62%]
- 64/74 . 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.000944s/0.158135s=0.60%]
- 65/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000937s/0.158135s=0.59%]
- 66/74 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000932s/0.158135s=0.59%]
- 67/74 . 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.000907s/0.158135s=0.57%]
- 68/74 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000886s/0.158135s=0.56%]
- 69/74 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000884s/0.158135s=0.56%]
- 70/74 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000866s/0.158135s=0.55%]
- 71/74 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000866s/0.158135s=0.55%]
- 72/74 . SELECT @@session.sql_mode [0.000850s/0.158135s=0.54%]
- 73/74 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000829s/0.158135s=0.52%]
- 74/74 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000729s/0.158135s=0.46%]
- 1/8. SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [8 times, 0.01419s/0.158135s=8.97%]
- 2/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004571s/0.158135s=2.89%]
- 3/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [4 times, 0.01116s/0.158135s=7.06%]
- 4/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [4 times, 0.004536s/0.158135s=2.87%]
- 5/8. SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [4 times, 0.009514s/0.158135s=6.02%]
- 6/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [4 times, 0.006016s/0.158135s=3.80%]
- 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.004518s/0.158135s=2.86%]
- 8/8. SELECT @@session.sql_mode [3 times, 0.004545s/0.158135s=2.87%]
- Facebook track: Use:5.083179473877ms