基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-10-08 20:43:13 HTTP/1.1 GET : lyvisitlog.test.saascdn.co/category/Fun
- 运行时间 : 0.151400s [ 吞吐率:6.61req/s ] 内存消耗:2,604.09kb 文件加载:264
- 查询信息 : [耗时:0.061358s/0.151400 40.53% ] 41 queries ,4 writes
- 缓存信息 : 23 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=kfdgkqmu4b54nuprvqfjqbt6tu
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ 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.000038s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000051s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'lyvisitlog.test.saascdn.co',
'x-forwarded-for' => '216.73.216.223',
'via' => '2.0 Caddy',
'referer' => 'http://lyvisitlog.test.saascdn.co/category/Fun',
'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' => 'lyvisitlog.test.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'Fun',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002497s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000068s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1744948034890:',
'type' => 'redis',
'host' => 'test-redis-7.rj9kwp.ng.0001.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.002539s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000927s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000980s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000741s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000710s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000726s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000867s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001164s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000787s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001070s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000600s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000857s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000899s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000507s ]
- 1/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002539s ] [0.002539s/0.016383s=15.50%]
- 2/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002497s ] [0.002497s/0.016383s=15.24%]
- 3/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001164s ] [0.001164s/0.016383s=7.10%]
- 4/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001070s ] [0.001070s/0.016383s=6.53%]
- 5/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000980s ] [0.000980s/0.016383s=5.98%]
- 6/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000927s ] [0.000927s/0.016383s=5.66%]
- 7/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000899s ] [0.000899s/0.016383s=5.49%]
- 8/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000867s ] [0.000867s/0.016383s=5.29%]
- 9/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000857s ] [0.000857s/0.016383s=5.23%]
- 10/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000787s ] [0.000787s/0.016383s=4.80%]
- 11/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000741s ] [0.000741s/0.016383s=4.52%]
- 12/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000726s ] [0.000726s/0.016383s=4.43%]
- 13/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000710s ] [0.000710s/0.016383s=4.33%]
- 14/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000600s ] [0.000600s/0.016383s=3.66%]
- 15/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000507s ] [0.000507s/0.016383s=3.09%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000241s ] [0.000241s/0.016383s=1.47%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000068s ] [0.000068s/0.016383s=0.42%]
- 18/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000051s ] [0.000051s/0.016383s=0.31%]
- 19/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ] [0.000047s/0.016383s=0.29%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ] [0.000038s/0.016383s=0.23%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.016383s=0.17%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ] [0.000027s/0.016383s=0.16%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.016383s=0.07%]
- [ DB ] CONNECT:[ UseTime:0.002964s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1744948034890;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000989s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.001127s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001066s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000880s ]
- [ SQL ] SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000888s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000812s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000776s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000810s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000792s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001032s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000878s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000880s ]
- [ 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 < 1791463393 and b.endtime > 1791463393 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.005497s ]
- [ 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 (20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.004392s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000969s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000782s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1791463393 and b.endtime > 1791463393 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.003806s ]
- [ 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1791463393 and b.endtime > 1791463393 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [ RunTime:0.002321s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (20,19,18,17,16,15,14,13,12,11,10,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001305s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,17,16,15,14,13,12,11,10,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001680s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1791463393 > starttime && 1791463393 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000953s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000797s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000852s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'Fun' LIMIT 1 [ RunTime:0.001043s ]
- [ 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001044s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001058s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001919s ]
- [ 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.000853s ]
- [ 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.001031s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612627853.jpg' LIMIT 1 [ RunTime:0.002743s ]
- [ 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.000932s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612626202.jpg' LIMIT 1 [ RunTime:0.000925s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612624586.jpg' LIMIT 1 [ RunTime:0.000903s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612622911.jpg' LIMIT 1 [ RunTime:0.000806s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612620645.jpg' LIMIT 1 [ RunTime:0.000880s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612618383.jpg' LIMIT 1 [ RunTime:0.000836s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612615234.jpg' LIMIT 1 [ RunTime:0.000851s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612613849.jpg' LIMIT 1 [ RunTime:0.000819s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612611989.jpg' LIMIT 1 [ RunTime:0.000888s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612607581.jpg' LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1744948158486.jpg' LIMIT 1 [ RunTime:0.001583s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1744948157793.jpg' LIMIT 1 [ RunTime:0.001141s ]
- 1/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 < 1791463393 and b.endtime > 1791463393 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.005497s/0.061358s=8.96%]
- 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 (20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.004392s/0.061358s=7.16%]
- 3/46 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1791463393 and b.endtime > 1791463393 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.003806s/0.061358s=6.20%]
- 4/46 . CONNECT:[ UseTime:0.002964s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1744948034890;charset=utf8mb4 [0.002964s/0.061358s=4.83%]
- 5/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612627853.jpg' LIMIT 1 [0.002743s/0.061358s=4.47%]
- 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1791463393 and b.endtime > 1791463393 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [0.002321s/0.061358s=3.78%]
- 7/46 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001919s/0.061358s=3.13%]
- 8/46 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,17,16,15,14,13,12,11,10,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001680s/0.061358s=2.74%]
- 9/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1744948158486.jpg' LIMIT 1 [0.001583s/0.061358s=2.58%]
- 10/46 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (20,19,18,17,16,15,14,13,12,11,10,9) ) AND `discuss`.`deletetime` IS NULL [0.001305s/0.061358s=2.13%]
- 11/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1744948157793.jpg' LIMIT 1 [0.001141s/0.061358s=1.86%]
- 12/46 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001127s/0.061358s=1.84%]
- 13/46 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.001075s/0.061358s=1.75%]
- 14/46 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001066s/0.061358s=1.74%]
- 15/46 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001058s/0.061358s=1.72%]
- 16/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 = 3
and p.status = "up" and p.deletetime is null limit 40 [0.001044s/0.061358s=1.70%]
- 17/46 . SELECT `id` FROM `category` WHERE `path` = 'Fun' LIMIT 1 [0.001043s/0.061358s=1.70%]
- 18/46 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001032s/0.061358s=1.68%]
- 19/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.001031s/0.061358s=1.68%]
- 20/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000989s/0.061358s=1.61%]
- 21/46 . SELECT @@session.sql_mode [0.000969s/0.061358s=1.58%]
- 22/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000964s/0.061358s=1.57%]
- 23/46 . SELECT * FROM `activity` WHERE ( ( 1791463393 > starttime && 1791463393 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000953s/0.061358s=1.55%]
- 24/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.000932s/0.061358s=1.52%]
- 25/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612626202.jpg' LIMIT 1 [0.000925s/0.061358s=1.51%]
- 26/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000922s/0.061358s=1.50%]
- 27/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612624586.jpg' LIMIT 1 [0.000903s/0.061358s=1.47%]
- 28/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612607581.jpg' LIMIT 1 [0.000894s/0.061358s=1.46%]
- 29/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612611989.jpg' LIMIT 1 [0.000888s/0.061358s=1.45%]
- 30/46 . SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.000888s/0.061358s=1.45%]
- 31/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612620645.jpg' LIMIT 1 [0.000880s/0.061358s=1.43%]
- 32/46 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000880s/0.061358s=1.43%]
- 33/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000880s/0.061358s=1.43%]
- 34/46 . SELECT @@session.sql_mode [0.000878s/0.061358s=1.43%]
- 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.000853s/0.061358s=1.39%]
- 36/46 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000852s/0.061358s=1.39%]
- 37/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612615234.jpg' LIMIT 1 [0.000851s/0.061358s=1.39%]
- 38/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612618383.jpg' LIMIT 1 [0.000836s/0.061358s=1.36%]
- 39/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612613849.jpg' LIMIT 1 [0.000819s/0.061358s=1.33%]
- 40/46 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000812s/0.061358s=1.32%]
- 41/46 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000810s/0.061358s=1.32%]
- 42/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24dee5e1feb2417b/1746612622911.jpg' LIMIT 1 [0.000806s/0.061358s=1.31%]
- 43/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000797s/0.061358s=1.30%]
- 44/46 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000792s/0.061358s=1.29%]
- 45/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000782s/0.061358s=1.27%]
- 46/46 . set time_zone = '+08:00' [0.000776s/0.061358s=1.26%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002459s/0.061358s=4.01%]
- 2/3. 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.002816s/0.061358s=4.59%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.001847s/0.061358s=3.01%]