基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-16 20:46:01 HTTP/1.1 GET : zxtest.test3.shoppaas.co/category/t-shirt-4
- 运行时间 : 0.268158s [ 吞吐率:3.73req/s ] 内存消耗:4,385.38kb 文件加载:263
- 查询信息 : [耗时:0.138036s/0.268158 51.48% ] 63 queries ,7 writes
- 缓存信息 : 23 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=ljeq16c5b6sa1msvbkta55umee
- [ 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.000359s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000071s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxtest.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.55',
'referer' => 'http://zxtest.test3.shoppaas.co/category/t-shirt-4',
'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' => 'zxtest.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 't-shirt-4',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004830s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000081s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1710752089230:',
'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.003038s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001759s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001743s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001570s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001553s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001574s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001729s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.000892s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001097s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001652s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001577s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000974s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004830s ] [0.004830s/0.024756s=19.51%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003038s ] [0.003038s/0.024756s=12.27%]
- 3/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001759s ] [0.001759s/0.024756s=7.11%]
- 4/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001743s ] [0.001743s/0.024756s=7.04%]
- 5/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001729s ] [0.001729s/0.024756s=6.98%]
- 6/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001652s ] [0.001652s/0.024756s=6.67%]
- 7/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001577s ] [0.001577s/0.024756s=6.37%]
- 8/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001574s ] [0.001574s/0.024756s=6.36%]
- 9/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001570s ] [0.001570s/0.024756s=6.34%]
- 10/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001553s ] [0.001553s/0.024756s=6.27%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001097s ] [0.001097s/0.024756s=4.43%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000974s ] [0.000974s/0.024756s=3.93%]
- 13/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.000892s ] [0.000892s/0.024756s=3.60%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000359s ] [0.000359s/0.024756s=1.45%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ] [0.000091s/0.024756s=0.37%]
- 16/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ] [0.000083s/0.024756s=0.34%]
- 17/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000081s ] [0.000081s/0.024756s=0.33%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000071s ] [0.000071s/0.024756s=0.29%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ] [0.000035s/0.024756s=0.14%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ] [0.000034s/0.024756s=0.14%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.024756s=0.06%]
- [ DB ] CONNECT:[ UseTime:0.002064s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710752089230;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001700s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001135s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001790s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000889s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000736s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001134s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000809s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765889161 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'ljeq16c5b6sa1msvbkta55umee' AND `createtime` > 1765629961 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001107s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000771s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000663s ]
- [ 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` = 'ljeq16c5b6sa1msvbkta55umee' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001834s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000841s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.002791s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000972s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000948s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000645s ]
- [ 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 < 1765889161 and b.endtime > 1765889161 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.005067s ]
- [ 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 (48,47,46,45,44,43,42,41,18,12,4,1) group by binary(p.name), binary(p1.name); [ RunTime:0.002816s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001003s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000647s ]
- [ 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 < 1765889161 and b.endtime > 1765889161 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.005087s ]
- [ 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 < 1765889161 and b.endtime > 1765889161 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.013509s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (48,47,46,45,44,43,42,41,18,12,4,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001830s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (48,47,46,45,44,43,42,41,18,12,4,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.028237s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765889162 > starttime && 1765889162 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.003254s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000824s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001143s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 't-shirt-4' LIMIT 1 [ RunTime:0.001476s ]
- [ 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 = 4
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001130s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000765s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000837s ]
- [ 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.000779s ]
- [ 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.001286s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [ RunTime:0.000866s ]
- [ 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.000961s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [ RunTime:0.002674s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [ RunTime:0.000774s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [ RunTime:0.000710s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [ RunTime:0.001129s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [ RunTime:0.004085s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [ RunTime:0.000756s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [ RunTime:0.001066s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [ RunTime:0.001538s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [ RunTime:0.002440s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [ RunTime:0.001261s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [ RunTime:0.001003s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000966s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000785s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000791s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [ RunTime:0.000956s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [ RunTime:0.002175s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [ RunTime:0.001219s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [ RunTime:0.000851s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [ RunTime:0.000833s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [ RunTime:0.001777s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [ RunTime:0.001490s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [ RunTime:0.001730s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.004943s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000836s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000771s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000713s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000754s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000688s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.000788s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.000764s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.000836s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000772s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001008s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000777s ]
- 1/71 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (48,47,46,45,44,43,42,41,18,12,4,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.028237s/0.138036s=20.46%]
- 2/71 . 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 < 1765889161 and b.endtime > 1765889161 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.013509s/0.138036s=9.79%]
- 3/71 . 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 < 1765889161 and b.endtime > 1765889161 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.005087s/0.138036s=3.69%]
- 4/71 . 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 < 1765889161 and b.endtime > 1765889161 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.005067s/0.138036s=3.67%]
- 5/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.004943s/0.138036s=3.58%]
- 6/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [0.004085s/0.138036s=2.96%]
- 7/71 . SELECT * FROM `activity` WHERE ( ( 1765889162 > starttime && 1765889162 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.003254s/0.138036s=2.36%]
- 8/71 . 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 (48,47,46,45,44,43,42,41,18,12,4,1) group by binary(p.name), binary(p1.name); [0.002816s/0.138036s=2.04%]
- 9/71 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.002791s/0.138036s=2.02%]
- 10/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [0.002674s/0.138036s=1.94%]
- 11/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [0.002440s/0.138036s=1.77%]
- 12/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [0.002175s/0.138036s=1.58%]
- 13/71 . CONNECT:[ UseTime:0.002064s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710752089230;charset=utf8mb4 [0.002064s/0.138036s=1.50%]
- 14/71 . 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` = 'ljeq16c5b6sa1msvbkta55umee' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001834s/0.138036s=1.33%]
- 15/71 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (48,47,46,45,44,43,42,41,18,12,4,1) ) AND `discuss`.`deletetime` IS NULL [0.001830s/0.138036s=1.33%]
- 16/71 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001790s/0.138036s=1.30%]
- 17/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [0.001777s/0.138036s=1.29%]
- 18/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [0.001730s/0.138036s=1.25%]
- 19/71 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001700s/0.138036s=1.23%]
- 20/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [0.001538s/0.138036s=1.11%]
- 21/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [0.001490s/0.138036s=1.08%]
- 22/71 . SELECT `id` FROM `category` WHERE `path` = 't-shirt-4' LIMIT 1 [0.001476s/0.138036s=1.07%]
- 23/71 . 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.001286s/0.138036s=0.93%]
- 24/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [0.001261s/0.138036s=0.91%]
- 25/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [0.001219s/0.138036s=0.88%]
- 26/71 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001143s/0.138036s=0.83%]
- 27/71 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001135s/0.138036s=0.82%]
- 28/71 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001134s/0.138036s=0.82%]
- 29/71 . 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 = 4
and p.status = "up" and p.deletetime is null limit 40 [0.001130s/0.138036s=0.82%]
- 30/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [0.001129s/0.138036s=0.82%]
- 31/71 . UPDATE `cart` SET `deletetime`=1765889161 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'ljeq16c5b6sa1msvbkta55umee' AND `createtime` > 1765629961 ) AND `cart`.`deletetime` IS NULL [0.001107s/0.138036s=0.80%]
- 32/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [0.001066s/0.138036s=0.77%]
- 33/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [0.001031s/0.138036s=0.75%]
- 34/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001008s/0.138036s=0.73%]
- 35/71 . SELECT @@session.sql_mode [0.001003s/0.138036s=0.73%]
- 36/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [0.001003s/0.138036s=0.73%]
- 37/71 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000972s/0.138036s=0.70%]
- 38/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000966s/0.138036s=0.70%]
- 39/71 . 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.000961s/0.138036s=0.70%]
- 40/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [0.000956s/0.138036s=0.69%]
- 41/71 . SELECT @@session.sql_mode [0.000948s/0.138036s=0.69%]
- 42/71 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000889s/0.138036s=0.64%]
- 43/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [0.000866s/0.138036s=0.63%]
- 44/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [0.000851s/0.138036s=0.62%]
- 45/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000841s/0.138036s=0.61%]
- 46/71 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000837s/0.138036s=0.61%]
- 47/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000836s/0.138036s=0.61%]
- 48/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.000836s/0.138036s=0.61%]
- 49/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [0.000833s/0.138036s=0.60%]
- 50/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000824s/0.138036s=0.60%]
- 51/71 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000809s/0.138036s=0.59%]
- 52/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000791s/0.138036s=0.57%]
- 53/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.000788s/0.138036s=0.57%]
- 54/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000785s/0.138036s=0.57%]
- 55/71 . 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.000779s/0.138036s=0.56%]
- 56/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000777s/0.138036s=0.56%]
- 57/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [0.000774s/0.138036s=0.56%]
- 58/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000772s/0.138036s=0.56%]
- 59/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000771s/0.138036s=0.56%]
- 60/71 . SELECT @@session.sql_mode [0.000771s/0.138036s=0.56%]
- 61/71 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000765s/0.138036s=0.55%]
- 62/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.000764s/0.138036s=0.55%]
- 63/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [0.000756s/0.138036s=0.55%]
- 64/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000754s/0.138036s=0.55%]
- 65/71 . set time_zone = '+08:00' [0.000736s/0.138036s=0.53%]
- 66/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000713s/0.138036s=0.52%]
- 67/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [0.000710s/0.138036s=0.51%]
- 68/71 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000688s/0.138036s=0.50%]
- 69/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000663s/0.138036s=0.48%]
- 70/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000647s/0.138036s=0.47%]
- 71/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000645s/0.138036s=0.47%]
- 1/15. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.00362s/0.138036s=2.62%]
- 2/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [3 times, 0.002557s/0.138036s=1.85%]
- 3/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [3 times, 0.002388s/0.138036s=1.73%]
- 4/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [3 times, 0.002155s/0.138036s=1.56%]
- 5/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [3 times, 0.00655s/0.138036s=4.75%]
- 6/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [3 times, 0.004997s/0.138036s=3.62%]
- 7/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [3 times, 0.002715s/0.138036s=1.97%]
- 8/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [3 times, 0.00435s/0.138036s=3.15%]
- 9/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [3 times, 0.002542s/0.138036s=1.84%]
- 10/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [3 times, 0.004704s/0.138036s=3.41%]
- 11/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [3 times, 0.00336s/0.138036s=2.43%]
- 12/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [3 times, 0.005924s/0.138036s=4.29%]
- 13/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [3 times, 0.004314s/0.138036s=3.13%]
- 14/15. 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.003026s/0.138036s=2.19%]
- 15/15. SELECT @@session.sql_mode [3 times, 0.002722s/0.138036s=1.97%]