基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-17 13:16:24 HTTP/1.1 GET : awsxtlts.test3.shoppaas.co/category/butter-5
- 运行时间 : 0.377318s [ 吞吐率:2.65req/s ] 内存消耗:3,087.39kb 文件加载:316
- 查询信息 : [耗时:0.054891s/0.377318 14.55% ] 39 queries ,7 writes
- 缓存信息 : 23 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=5h7eiaroup6q9406iklljuke3g
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000388s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000062s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000075s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'awsxtlts.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.151',
'referer' => 'http://awsxtlts.test3.shoppaas.co/category/butter-5',
'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' => 'awsxtlts.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'butter-5',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004589s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1692326689477:',
'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.002432s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
3 => 'pay_step',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.143777s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001959s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001819s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002077s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001679s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001664s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001411s ]
- [ 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.002339s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000998s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001810s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001786s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000934s ]
- 1/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.143777s ] [0.143777s/0.170068s=84.54%]
- 2/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004589s ] [0.004589s/0.170068s=2.70%]
- 3/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002432s ] [0.002432s/0.170068s=1.43%]
- 4/22 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002339s ] [0.002339s/0.170068s=1.38%]
- 5/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002077s ] [0.002077s/0.170068s=1.22%]
- 6/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001959s ] [0.001959s/0.170068s=1.15%]
- 7/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001819s ] [0.001819s/0.170068s=1.07%]
- 8/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001810s ] [0.001810s/0.170068s=1.06%]
- 9/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001786s ] [0.001786s/0.170068s=1.05%]
- 10/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001679s ] [0.001679s/0.170068s=0.99%]
- 11/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001664s ] [0.001664s/0.170068s=0.98%]
- 12/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001411s ] [0.001411s/0.170068s=0.83%]
- 13/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000998s ] [0.000998s/0.170068s=0.59%]
- 14/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000934s ] [0.000934s/0.170068s=0.55%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000388s ] [0.000388s/0.170068s=0.23%]
- 16/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ] [0.000093s/0.170068s=0.05%]
- 17/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ] [0.000090s/0.170068s=0.05%]
- 18/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000075s ] [0.000075s/0.170068s=0.04%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000062s ] [0.000062s/0.170068s=0.04%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ] [0.000037s/0.170068s=0.02%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ] [0.000035s/0.170068s=0.02%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.170068s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.004684s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1692326689477;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001384s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001107s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000974s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000806s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000768s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000789s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765948584 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '5h7eiaroup6q9406iklljuke3g' AND `createtime` > 1765689384 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001179s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000838s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000623s ]
- [ 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` = '5h7eiaroup6q9406iklljuke3g' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001733s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000669s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000854s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000979s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000735s ]
- [ 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 < 1765948584 and b.endtime > 1765948584 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002026s ]
- [ 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 (46,39,38,37,36,35,34,33,32,31,30,25,23,11) group by binary(p.name), binary(p1.name); [ RunTime:0.002009s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000877s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000657s ]
- [ 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 < 1765948584 and b.endtime > 1765948584 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002109s ]
- [ 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 < 1765948584 and b.endtime > 1765948584 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001979s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (46,39,38,37,36,35,34,33,32,31,30,25) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001396s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (46,39,38,37,36,35,34,33,32,31,30,25) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001429s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765948584 > starttime && 1765948584 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001123s ]
- [ 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.000819s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000951s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000744s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'butter-5' LIMIT 1 [ RunTime:0.001084s ]
- [ 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 = 5
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.000969s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001250s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000826s ]
- [ 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.000928s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/137ddbd05938fe3dd001846492b4d7c6.gif' LIMIT 1 [ RunTime:0.000915s ]
- [ 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.000993s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/4ce31897c232eb0a79fdefc6cc0c6b90.jpg' LIMIT 1 [ RunTime:0.001749s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/d8474b349cb0fa9fc910f5d793468991.jpg' LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/c27f56bdcc75f8a87fefac3cdc1337f0.jpg' LIMIT 1 [ RunTime:0.000905s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/7c7d2719f8e3a7bd83988d24b9fdbab0.jpg' LIMIT 1 [ RunTime:0.001042s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/2b77c1858c70124bdbd5be0d2a0eb356.gif' LIMIT 1 [ RunTime:0.000912s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/ed1fda3c3b980cfc174a2ea386105a2e.jpg' LIMIT 1 [ RunTime:0.001062s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/9997d9aff40dc3832e5507bf55aa42ff.jpg' LIMIT 1 [ RunTime:0.001095s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/cf9b4f7bc0c633ed693b6c3f2f2fe636.jpg' LIMIT 1 [ RunTime:0.000999s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/15ae03305cedf2f1fbca8476477a38bc.jpg' LIMIT 1 [ RunTime:0.000999s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/d1a5b563a550274aaa3c58b6247ef053.jpg' LIMIT 1 [ RunTime:0.000892s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/3b8c048fa7aef0fdb10015a3a0942354.jpg' LIMIT 1 [ RunTime:0.001086s ]
- 1/47 . CONNECT:[ UseTime:0.004684s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1692326689477;charset=utf8mb4 [0.004684s/0.054891s=8.53%]
- 2/47 . 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 < 1765948584 and b.endtime > 1765948584 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002109s/0.054891s=3.84%]
- 3/47 . 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 < 1765948584 and b.endtime > 1765948584 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002026s/0.054891s=3.69%]
- 4/47 . 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 (46,39,38,37,36,35,34,33,32,31,30,25,23,11) group by binary(p.name), binary(p1.name); [0.002009s/0.054891s=3.66%]
- 5/47 . 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 < 1765948584 and b.endtime > 1765948584 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001979s/0.054891s=3.61%]
- 6/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/4ce31897c232eb0a79fdefc6cc0c6b90.jpg' LIMIT 1 [0.001749s/0.054891s=3.19%]
- 7/47 . 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` = '5h7eiaroup6q9406iklljuke3g' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001733s/0.054891s=3.16%]
- 8/47 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (46,39,38,37,36,35,34,33,32,31,30,25) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001429s/0.054891s=2.60%]
- 9/47 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (46,39,38,37,36,35,34,33,32,31,30,25) ) AND `discuss`.`deletetime` IS NULL [0.001396s/0.054891s=2.54%]
- 10/47 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001384s/0.054891s=2.52%]
- 11/47 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001250s/0.054891s=2.28%]
- 12/47 . UPDATE `cart` SET `deletetime`=1765948584 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '5h7eiaroup6q9406iklljuke3g' AND `createtime` > 1765689384 ) AND `cart`.`deletetime` IS NULL [0.001179s/0.054891s=2.15%]
- 13/47 . SELECT * FROM `activity` WHERE ( ( 1765948584 > starttime && 1765948584 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001123s/0.054891s=2.05%]
- 14/47 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001107s/0.054891s=2.02%]
- 15/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/9997d9aff40dc3832e5507bf55aa42ff.jpg' LIMIT 1 [0.001095s/0.054891s=1.99%]
- 16/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/3b8c048fa7aef0fdb10015a3a0942354.jpg' LIMIT 1 [0.001086s/0.054891s=1.98%]
- 17/47 . SELECT `id` FROM `category` WHERE `path` = 'butter-5' LIMIT 1 [0.001084s/0.054891s=1.97%]
- 18/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/ed1fda3c3b980cfc174a2ea386105a2e.jpg' LIMIT 1 [0.001062s/0.054891s=1.93%]
- 19/47 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001049s/0.054891s=1.91%]
- 20/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/7c7d2719f8e3a7bd83988d24b9fdbab0.jpg' LIMIT 1 [0.001042s/0.054891s=1.90%]
- 21/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/cf9b4f7bc0c633ed693b6c3f2f2fe636.jpg' LIMIT 1 [0.000999s/0.054891s=1.82%]
- 22/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/15ae03305cedf2f1fbca8476477a38bc.jpg' LIMIT 1 [0.000999s/0.054891s=1.82%]
- 23/47 . 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.000993s/0.054891s=1.81%]
- 24/47 . SELECT @@session.sql_mode [0.000979s/0.054891s=1.78%]
- 25/47 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000974s/0.054891s=1.77%]
- 26/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/d8474b349cb0fa9fc910f5d793468991.jpg' LIMIT 1 [0.000973s/0.054891s=1.77%]
- 27/47 . 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 = 5
and p.status = "up" and p.deletetime is null limit 40 [0.000969s/0.054891s=1.77%]
- 28/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000951s/0.054891s=1.73%]
- 29/47 . 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.000928s/0.054891s=1.69%]
- 30/47 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000922s/0.054891s=1.68%]
- 31/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/137ddbd05938fe3dd001846492b4d7c6.gif' LIMIT 1 [0.000915s/0.054891s=1.67%]
- 32/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/2b77c1858c70124bdbd5be0d2a0eb356.gif' LIMIT 1 [0.000912s/0.054891s=1.66%]
- 33/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/c27f56bdcc75f8a87fefac3cdc1337f0.jpg' LIMIT 1 [0.000905s/0.054891s=1.65%]
- 34/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d5710aabf3278da2/d1a5b563a550274aaa3c58b6247ef053.jpg' LIMIT 1 [0.000892s/0.054891s=1.63%]
- 35/47 . SELECT @@session.sql_mode [0.000877s/0.054891s=1.60%]
- 36/47 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000854s/0.054891s=1.56%]
- 37/47 . SELECT @@session.sql_mode [0.000838s/0.054891s=1.53%]
- 38/47 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000826s/0.054891s=1.50%]
- 39/47 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1,2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000819s/0.054891s=1.49%]
- 40/47 . set time_zone = '+08:00' [0.000806s/0.054891s=1.47%]
- 41/47 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000789s/0.054891s=1.44%]
- 42/47 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000768s/0.054891s=1.40%]
- 43/47 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000744s/0.054891s=1.36%]
- 44/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000735s/0.054891s=1.34%]
- 45/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000669s/0.054891s=1.22%]
- 46/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000657s/0.054891s=1.20%]
- 47/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000623s/0.054891s=1.13%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003635s/0.054891s=6.62%]
- 2/3. SELECT @@session.sql_mode [3 times, 0.002694s/0.054891s=4.91%]
- 3/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 [2 times, 0.001921s/0.054891s=3.50%]
- Facebook track: Use:13.320803642273ms