基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-16 02:27:19 HTTP/1.1 GET : zctk01.test3.shoppaas.co/category/a%e5%ba%97%e9%93%ba%e5%88%86%e7%b1%bb1-3-2307271625041573.html
- 运行时间 : 0.171849s [ 吞吐率:5.82req/s ] 内存消耗:2,298.34kb 文件加载:262
- 查询信息 : [耗时:0.04497s/0.171849 26.17% ] 36 queries ,7 writes
- 缓存信息 : 16 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=p6o2pumt468mpt2jbavlf88501
- [ 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.000378s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000059s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000101s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zctk01.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.55',
'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' => 'zctk01.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'a店铺分类1-3-2307271625041573',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004482s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000024s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000041s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1690445710602:',
'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.001334s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001728s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001720s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002716s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001827s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002158s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001888s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001046s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001833s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001870s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001824s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001262s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004482s ] [0.004482s/0.02647s=16.93%]
- 2/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002716s ] [0.002716s/0.02647s=10.26%]
- 3/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002158s ] [0.002158s/0.02647s=8.15%]
- 4/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001888s ] [0.001888s/0.02647s=7.13%]
- 5/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001870s ] [0.001870s/0.02647s=7.06%]
- 6/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001833s ] [0.001833s/0.02647s=6.92%]
- 7/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001827s ] [0.001827s/0.02647s=6.90%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001824s ] [0.001824s/0.02647s=6.89%]
- 9/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001728s ] [0.001728s/0.02647s=6.53%]
- 10/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001720s ] [0.001720s/0.02647s=6.50%]
- 11/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.001334s ] [0.001334s/0.02647s=5.04%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001262s ] [0.001262s/0.02647s=4.77%]
- 13/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001046s ] [0.001046s/0.02647s=3.95%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000378s ] [0.000378s/0.02647s=1.43%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000101s ] [0.000101s/0.02647s=0.38%]
- 16/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ] [0.000094s/0.02647s=0.36%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ] [0.000072s/0.02647s=0.27%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000059s ] [0.000059s/0.02647s=0.22%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000041s ] [0.000041s/0.02647s=0.15%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000024s ] [0.000024s/0.02647s=0.09%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.02647s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002064s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1690445710602;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000862s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001492s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000847s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000666s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000771s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000756s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000811s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765823239 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'p6o2pumt468mpt2jbavlf88501' AND `createtime` > 1765564039 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001999s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000783s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000544s ]
- [ 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` = 'p6o2pumt468mpt2jbavlf88501' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002221s ]
- [ 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 `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000783s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000929s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000608s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000676s ]
- [ 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 < 1765823239 and b.endtime > 1765823239 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(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001277s ]
- [ 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 (9,1,6,7) group by binary(p.name), binary(p1.name); [ RunTime:0.001306s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000645s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000608s ]
- [ 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 < 1765823239 and b.endtime > 1765823239 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(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002001s ]
- [ 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 < 1765823239 and b.endtime > 1765823239 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(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001457s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,1,6,7) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000862s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (9,1,6,7) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000938s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765823239 > starttime && 1765823239 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000849s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000769s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000857s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'a店铺分类1-3-2307271625041573' LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000863s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000822s ]
- [ 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.000781s ]
- [ 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.000979s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '53cd969e678cb6d90c8217d0e7723ae2' LIMIT 1 [ RunTime:0.000985s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '6d7125785c9873f215305aa868a69dc9' LIMIT 1 [ RunTime:0.000816s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [ RunTime:0.001012s ]
- [ 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.000835s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [ RunTime:0.000759s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/d083e66c13d420c0254b54d5d7dc52a6.jpeg' LIMIT 1 [ RunTime:0.001401s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [ RunTime:0.001390s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '87e0a55a6b0d354faaae152007d1aa43' LIMIT 1 [ RunTime:0.000877s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/ed32fe7cc19bf7ba3e94435d3aaa3b4e.webp' LIMIT 1 [ RunTime:0.001473s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c0c8b4c915af8f4510b741322e31745f' LIMIT 1 [ RunTime:0.000910s ]
- 1/44 . 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` = 'p6o2pumt468mpt2jbavlf88501' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002221s/0.04497s=4.94%]
- 2/44 . CONNECT:[ UseTime:0.002064s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1690445710602;charset=utf8mb4 [0.002064s/0.04497s=4.59%]
- 3/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 < 1765823239 and b.endtime > 1765823239 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(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002001s/0.04497s=4.45%]
- 4/44 . UPDATE `cart` SET `deletetime`=1765823239 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'p6o2pumt468mpt2jbavlf88501' AND `createtime` > 1765564039 ) AND `cart`.`deletetime` IS NULL [0.001999s/0.04497s=4.45%]
- 5/44 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001492s/0.04497s=3.32%]
- 6/44 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/ed32fe7cc19bf7ba3e94435d3aaa3b4e.webp' LIMIT 1 [0.001473s/0.04497s=3.28%]
- 7/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 < 1765823239 and b.endtime > 1765823239 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(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001457s/0.04497s=3.24%]
- 8/44 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/d083e66c13d420c0254b54d5d7dc52a6.jpeg' LIMIT 1 [0.001401s/0.04497s=3.12%]
- 9/44 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [0.001390s/0.04497s=3.09%]
- 10/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 (9,1,6,7) group by binary(p.name), binary(p1.name); [0.001306s/0.04497s=2.90%]
- 11/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 < 1765823239 and b.endtime > 1765823239 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(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001277s/0.04497s=2.84%]
- 12/44 . SELECT `id` FROM `category` WHERE `path` = 'a店铺分类1-3-2307271625041573' LIMIT 1 [0.001031s/0.04497s=2.29%]
- 13/44 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [0.001012s/0.04497s=2.25%]
- 14/44 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [0.000998s/0.04497s=2.22%]
- 15/44 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '53cd969e678cb6d90c8217d0e7723ae2' LIMIT 1 [0.000985s/0.04497s=2.19%]
- 16/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.000979s/0.04497s=2.18%]
- 17/44 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (9,1,6,7) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000938s/0.04497s=2.09%]
- 18/44 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000929s/0.04497s=2.07%]
- 19/44 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c0c8b4c915af8f4510b741322e31745f' LIMIT 1 [0.000910s/0.04497s=2.02%]
- 20/44 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '87e0a55a6b0d354faaae152007d1aa43' LIMIT 1 [0.000877s/0.04497s=1.95%]
- 21/44 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000863s/0.04497s=1.92%]
- 22/44 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,1,6,7) ) AND `discuss`.`deletetime` IS NULL [0.000862s/0.04497s=1.92%]
- 23/44 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000862s/0.04497s=1.92%]
- 24/44 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000857s/0.04497s=1.91%]
- 25/44 . SELECT * FROM `activity` WHERE ( ( 1765823239 > starttime && 1765823239 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000849s/0.04497s=1.89%]
- 26/44 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000847s/0.04497s=1.88%]
- 27/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.000835s/0.04497s=1.86%]
- 28/44 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000822s/0.04497s=1.83%]
- 29/44 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '6d7125785c9873f215305aa868a69dc9' LIMIT 1 [0.000816s/0.04497s=1.81%]
- 30/44 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000811s/0.04497s=1.80%]
- 31/44 . SELECT @@session.sql_mode [0.000783s/0.04497s=1.74%]
- 32/44 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000783s/0.04497s=1.74%]
- 33/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.000781s/0.04497s=1.74%]
- 34/44 . set time_zone = '+08:00' [0.000771s/0.04497s=1.71%]
- 35/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000769s/0.04497s=1.71%]
- 36/44 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [0.000759s/0.04497s=1.69%]
- 37/44 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000756s/0.04497s=1.68%]
- 38/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000676s/0.04497s=1.50%]
- 39/44 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000666s/0.04497s=1.48%]
- 40/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000657s/0.04497s=1.46%]
- 41/44 . SELECT @@session.sql_mode [0.000645s/0.04497s=1.43%]
- 42/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000608s/0.04497s=1.35%]
- 43/44 . SELECT @@session.sql_mode [0.000608s/0.04497s=1.35%]
- 44/44 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000544s/0.04497s=1.21%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003254s/0.04497s=7.24%]
- 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.002595s/0.04497s=5.77%]
- 3/3. SELECT @@session.sql_mode [3 times, 0.002036s/0.04497s=4.53%]