基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-12 06:02:28 HTTP/1.1 GET : ordertest.test3.shoppaas.co/category/all
- 运行时间 : 0.210043s [ 吞吐率:4.76req/s ] 内存消耗:4,056.69kb 文件加载:264
- 查询信息 : [耗时:0.052432s/0.210043 24.96% ] 39 queries ,4 writes
- 缓存信息 : 23 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=fd3paaq2ih95aca3amjkeqtqcp
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000009s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000394s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000066s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000110s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000094s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'ordertest.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.209',
'referer' => 'http://ordertest.test3.shoppaas.co/category/all',
'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' => 'ordertest.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004827s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1708591867463:',
'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/brooklyn-playful/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.002662s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002016s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001910s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002467s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001782s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001648s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001735s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001599s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001182s ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002431s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001033s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001747s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001690s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001426s ]
- 1/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004827s ] [0.004827s/0.030993s=15.57%]
- 2/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002662s ] [0.002662s/0.030993s=8.59%]
- 3/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002467s ] [0.002467s/0.030993s=7.96%]
- 4/23 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002431s ] [0.002431s/0.030993s=7.84%]
- 5/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002016s ] [0.002016s/0.030993s=6.50%]
- 6/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001910s ] [0.001910s/0.030993s=6.16%]
- 7/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001782s ] [0.001782s/0.030993s=5.75%]
- 8/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001747s ] [0.001747s/0.030993s=5.64%]
- 9/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001735s ] [0.001735s/0.030993s=5.60%]
- 10/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001690s ] [0.001690s/0.030993s=5.45%]
- 11/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001648s ] [0.001648s/0.030993s=5.32%]
- 12/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001599s ] [0.001599s/0.030993s=5.16%]
- 13/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001426s ] [0.001426s/0.030993s=4.60%]
- 14/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001182s ] [0.001182s/0.030993s=3.81%]
- 15/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001033s ] [0.001033s/0.030993s=3.33%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000394s ] [0.000394s/0.030993s=1.27%]
- 17/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000110s ] [0.000110s/0.030993s=0.35%]
- 18/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000094s ] [0.000094s/0.030993s=0.30%]
- 19/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ] [0.000094s/0.030993s=0.30%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000066s ] [0.000066s/0.030993s=0.21%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ] [0.000044s/0.030993s=0.14%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ] [0.000027s/0.030993s=0.09%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000009s ] [0.000009s/0.030993s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.002611s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1708591867463;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001006s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001177s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001268s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000942s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000758s ]
- [ SQL ] set time_zone = '-04:00' [ RunTime:0.000738s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001117s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001063s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001193s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001241s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000780s ]
- [ 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 < 1775988148 and b.endtime > 1775988148 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002080s ]
- [ 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 (87,83,80,79,78,77,56,55,54,53,39,38,37,36,35,34,32,19,17,8) group by binary(p.name), binary(p1.name); [ RunTime:0.004030s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000657s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000677s ]
- [ 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 < 1775988148 and b.endtime > 1775988148 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001432s ]
- [ 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 < 1775988148 and b.endtime > 1775988148 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001825s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (87,83,80,79,78,77,56,55,54,53,39,38) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001186s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (87,83,80,79,78,77,56,55,54,53,39,38) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002763s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775988148 > starttime && 1775988148 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000977s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1,2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.000891s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001059s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000949s ]
- [ 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.000994s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001037s ]
- [ 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.001225s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001370s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000988s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000935s ]
- [ 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.000905s ]
- [ 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.000984s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 83 LIMIT 1 [ RunTime:0.000993s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000874s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 83 LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000848s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 83 LIMIT 1 [ RunTime:0.001526s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000988s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [ RunTime:0.000989s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000947s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [ RunTime:0.000832s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000872s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [ RunTime:0.000814s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000788s ]
- 1/44 . 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 (87,83,80,79,78,77,56,55,54,53,39,38,37,36,35,34,32,19,17,8) group by binary(p.name), binary(p1.name); [0.004030s/0.052432s=7.69%]
- 2/44 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (87,83,80,79,78,77,56,55,54,53,39,38) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002763s/0.052432s=5.27%]
- 3/44 . CONNECT:[ UseTime:0.002611s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1708591867463;charset=utf8mb4 [0.002611s/0.052432s=4.98%]
- 4/44 . 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 < 1775988148 and b.endtime > 1775988148 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002080s/0.052432s=3.97%]
- 5/44 . 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 < 1775988148 and b.endtime > 1775988148 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001825s/0.052432s=3.48%]
- 6/44 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 83 LIMIT 1 [0.001526s/0.052432s=2.91%]
- 7/44 . 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 < 1775988148 and b.endtime > 1775988148 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001432s/0.052432s=2.73%]
- 8/44 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001370s/0.052432s=2.61%]
- 9/44 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001268s/0.052432s=2.42%]
- 10/44 . SELECT @@session.sql_mode [0.001241s/0.052432s=2.37%]
- 11/44 . 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.001225s/0.052432s=2.34%]
- 12/44 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001193s/0.052432s=2.28%]
- 13/44 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (87,83,80,79,78,77,56,55,54,53,39,38) ) AND `discuss`.`deletetime` IS NULL [0.001186s/0.052432s=2.26%]
- 14/44 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001177s/0.052432s=2.24%]
- 15/44 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001117s/0.052432s=2.13%]
- 16/44 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 83 LIMIT 1 [0.001103s/0.052432s=2.10%]
- 17/44 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001063s/0.052432s=2.03%]
- 18/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001059s/0.052432s=2.02%]
- 19/44 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001037s/0.052432s=1.98%]
- 20/44 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001006s/0.052432s=1.92%]
- 21/44 . 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.000994s/0.052432s=1.90%]
- 22/44 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 83 LIMIT 1 [0.000993s/0.052432s=1.89%]
- 23/44 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [0.000989s/0.052432s=1.89%]
- 24/44 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000988s/0.052432s=1.88%]
- 25/44 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000988s/0.052432s=1.88%]
- 26/44 . 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.000984s/0.052432s=1.88%]
- 27/44 . SELECT * FROM `activity` WHERE ( ( 1775988148 > starttime && 1775988148 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000977s/0.052432s=1.86%]
- 28/44 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000949s/0.052432s=1.81%]
- 29/44 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000947s/0.052432s=1.81%]
- 30/44 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000942s/0.052432s=1.80%]
- 31/44 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000935s/0.052432s=1.78%]
- 32/44 . 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.000905s/0.052432s=1.73%]
- 33/44 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1,2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000891s/0.052432s=1.70%]
- 34/44 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000874s/0.052432s=1.67%]
- 35/44 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000872s/0.052432s=1.66%]
- 36/44 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000848s/0.052432s=1.62%]
- 37/44 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [0.000832s/0.052432s=1.59%]
- 38/44 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [0.000814s/0.052432s=1.55%]
- 39/44 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000788s/0.052432s=1.50%]
- 40/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000780s/0.052432s=1.49%]
- 41/44 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000758s/0.052432s=1.45%]
- 42/44 . set time_zone = '-04:00' [0.000738s/0.052432s=1.41%]
- 43/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000677s/0.052432s=1.29%]
- 44/44 . SELECT @@session.sql_mode [0.000657s/0.052432s=1.25%]
- 1/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [3 times, 0.002635s/0.052432s=5.03%]
- 2/7. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [3 times, 0.002607s/0.052432s=4.97%]
- 3/7. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [3 times, 0.00271s/0.052432s=5.17%]
- 4/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 83 LIMIT 1 [3 times, 0.003622s/0.052432s=6.91%]
- 5/7. 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 [3 times, 0.002883s/0.052432s=5.50%]
- 6/7. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002516s/0.052432s=4.80%]
- 7/7. SELECT @@session.sql_mode [2 times, 0.001898s/0.052432s=3.62%]