基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-07 09:59:27 HTTP/1.1 GET : zx20241128.test3.shoppaas.co/category/all
- 运行时间 : 0.247973s [ 吞吐率:4.03req/s ] 内存消耗:6,110.41kb 文件加载:264
- 查询信息 : [耗时:0.068511s/0.247973 27.63% ] 41 queries ,4 writes
- 缓存信息 : 23 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=0cc0nap55hcvbil4vljktch8mq
- [ 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.000300s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000041s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000051s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zx20241128.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.132',
'referer' => 'http://zx20241128.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' => 'zx20241128.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.004803s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000111s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1732797859083:',
'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.003281s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002067s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001977s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001922s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001937s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001973s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001955s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001331s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001425s ]
- [ 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.005292s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001435s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002098s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002074s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001380s ]
- 1/23 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.005292s ] [0.005292s/0.035601s=14.86%]
- 2/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004803s ] [0.004803s/0.035601s=13.49%]
- 3/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003281s ] [0.003281s/0.035601s=9.22%]
- 4/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002098s ] [0.002098s/0.035601s=5.89%]
- 5/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002074s ] [0.002074s/0.035601s=5.83%]
- 6/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002067s ] [0.002067s/0.035601s=5.81%]
- 7/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001977s ] [0.001977s/0.035601s=5.55%]
- 8/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001973s ] [0.001973s/0.035601s=5.54%]
- 9/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001955s ] [0.001955s/0.035601s=5.49%]
- 10/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001937s ] [0.001937s/0.035601s=5.44%]
- 11/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001922s ] [0.001922s/0.035601s=5.40%]
- 12/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001435s ] [0.001435s/0.035601s=4.03%]
- 13/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001425s ] [0.001425s/0.035601s=4.00%]
- 14/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001380s ] [0.001380s/0.035601s=3.88%]
- 15/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001331s ] [0.001331s/0.035601s=3.74%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000300s ] [0.000300s/0.035601s=0.84%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000111s ] [0.000111s/0.035601s=0.31%]
- 18/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ] [0.000054s/0.035601s=0.15%]
- 19/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000051s ] [0.000051s/0.035601s=0.14%]
- 20/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.035601s=0.13%]
- 21/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000041s ] [0.000041s/0.035601s=0.12%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ] [0.000036s/0.035601s=0.10%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.035601s=0.04%]
- [ DB ] CONNECT:[ UseTime:0.005898s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1732797859083;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001065s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001340s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002178s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001187s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001090s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001081s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001084s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001181s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001071s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000991s ]
- [ 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 < 1775527167 and b.endtime > 1775527167 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(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.004908s ]
- [ 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 (296,294,293,292,291,290,289,288,287,286,285,284,283,282,281,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,128,127,126,125,124,123,122,121,120,119,118,117,116,115,114,113,112,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,1) group by binary(p.name), binary(p1.name); [ RunTime:0.005889s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000944s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000852s ]
- [ 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 < 1775527167 and b.endtime > 1775527167 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(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.001671s ]
- [ 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 < 1775527167 and b.endtime > 1775527167 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(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 0,12 [ RunTime:0.001753s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (296,294,293,292,291,290,289,288,287,286,285,284) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001145s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (296,294,293,292,291,290,289,288,287,286,285,284) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004669s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775527167 > starttime && 1775527167 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001145s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001137s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001055s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001001s ]
- [ 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.001088s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001105s ]
- [ 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.001647s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001104s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001224s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001067s ]
- [ 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.001007s ]
- [ 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.001067s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [ RunTime:0.001092s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000933s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [ RunTime:0.001171s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000952s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [ RunTime:0.001068s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000895s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.001018s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 293 LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000910s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 293 LIMIT 1 [ RunTime:0.001013s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000882s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 293 LIMIT 1 [ RunTime:0.000845s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000921s ]
- 1/46 . CONNECT:[ UseTime:0.005898s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1732797859083;charset=utf8mb4 [0.005898s/0.068511s=8.61%]
- 2/46 . 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 (296,294,293,292,291,290,289,288,287,286,285,284,283,282,281,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,128,127,126,125,124,123,122,121,120,119,118,117,116,115,114,113,112,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,1) group by binary(p.name), binary(p1.name); [0.005889s/0.068511s=8.60%]
- 3/46 . 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 < 1775527167 and b.endtime > 1775527167 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(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.004908s/0.068511s=7.16%]
- 4/46 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (296,294,293,292,291,290,289,288,287,286,285,284) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004669s/0.068511s=6.81%]
- 5/46 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.002178s/0.068511s=3.18%]
- 6/46 . 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 < 1775527167 and b.endtime > 1775527167 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(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 0,12 [0.001753s/0.068511s=2.56%]
- 7/46 . 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 < 1775527167 and b.endtime > 1775527167 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(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.001671s/0.068511s=2.44%]
- 8/46 . 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.001647s/0.068511s=2.40%]
- 9/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001340s/0.068511s=1.96%]
- 10/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001224s/0.068511s=1.79%]
- 11/46 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001187s/0.068511s=1.73%]
- 12/46 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001181s/0.068511s=1.72%]
- 13/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [0.001171s/0.068511s=1.71%]
- 14/46 . SELECT * FROM `activity` WHERE ( ( 1775527167 > starttime && 1775527167 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001145s/0.068511s=1.67%]
- 15/46 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (296,294,293,292,291,290,289,288,287,286,285,284) ) AND `discuss`.`deletetime` IS NULL [0.001145s/0.068511s=1.67%]
- 16/46 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001137s/0.068511s=1.66%]
- 17/46 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001105s/0.068511s=1.61%]
- 18/46 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001104s/0.068511s=1.61%]
- 19/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [0.001092s/0.068511s=1.59%]
- 20/46 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001090s/0.068511s=1.59%]
- 21/46 . 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.001088s/0.068511s=1.59%]
- 22/46 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001084s/0.068511s=1.58%]
- 23/46 . set time_zone = '+08:00' [0.001081s/0.068511s=1.58%]
- 24/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 293 LIMIT 1 [0.001074s/0.068511s=1.57%]
- 25/46 . SELECT @@session.sql_mode [0.001071s/0.068511s=1.56%]
- 26/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [0.001068s/0.068511s=1.56%]
- 27/46 . 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.001067s/0.068511s=1.56%]
- 28/46 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001067s/0.068511s=1.56%]
- 29/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001065s/0.068511s=1.55%]
- 30/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001055s/0.068511s=1.54%]
- 31/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [0.001049s/0.068511s=1.53%]
- 32/46 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001044s/0.068511s=1.52%]
- 33/46 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.001018s/0.068511s=1.49%]
- 34/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 293 LIMIT 1 [0.001013s/0.068511s=1.48%]
- 35/46 . 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.001007s/0.068511s=1.47%]
- 36/46 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001001s/0.068511s=1.46%]
- 37/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000991s/0.068511s=1.45%]
- 38/46 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000952s/0.068511s=1.39%]
- 39/46 . SELECT @@session.sql_mode [0.000944s/0.068511s=1.38%]
- 40/46 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000933s/0.068511s=1.36%]
- 41/46 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000921s/0.068511s=1.34%]
- 42/46 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000910s/0.068511s=1.33%]
- 43/46 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000895s/0.068511s=1.31%]
- 44/46 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000882s/0.068511s=1.29%]
- 45/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000852s/0.068511s=1.24%]
- 46/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 293 LIMIT 1 [0.000845s/0.068511s=1.23%]
- 1/7. SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [4 times, 0.003798s/0.068511s=5.54%]
- 2/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 294 LIMIT 1 [4 times, 0.00438s/0.068511s=6.39%]
- 3/7. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [3 times, 0.002713s/0.068511s=3.96%]
- 4/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 293 LIMIT 1 [3 times, 0.002932s/0.068511s=4.28%]
- 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.003162s/0.068511s=4.62%]
- 6/7. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002898s/0.068511s=4.23%]
- 7/7. SELECT @@session.sql_mode [2 times, 0.002015s/0.068511s=2.94%]