基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-13 18:51:23 HTTP/1.1 GET : zxtest.test3.shoppaas.co/category/t-shirt-4.html
- 运行时间 : 0.238498s [ 吞吐率:4.19req/s ] 内存消耗:4,393.55kb 文件加载:264
- 查询信息 : [耗时:0.081897s/0.238498 34.34% ] 64 queries ,7 writes
- 缓存信息 : 23 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=a4re7qivh7eaomi8ljki3gp37d
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000416s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ]
- [ 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',
'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.011328s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000052s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000071s ]
- [ 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.002476s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001756s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001766s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001767s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001758s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001769s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001676s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001058s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001066s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001798s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001747s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001056s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.011328s ] [0.011328s/0.031835s=35.58%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002476s ] [0.002476s/0.031835s=7.78%]
- 3/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001798s ] [0.001798s/0.031835s=5.65%]
- 4/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001769s ] [0.001769s/0.031835s=5.56%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001767s ] [0.001767s/0.031835s=5.55%]
- 6/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001766s ] [0.001766s/0.031835s=5.55%]
- 7/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001758s ] [0.001758s/0.031835s=5.52%]
- 8/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001756s ] [0.001756s/0.031835s=5.52%]
- 9/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001747s ] [0.001747s/0.031835s=5.49%]
- 10/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001676s ] [0.001676s/0.031835s=5.26%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001066s ] [0.001066s/0.031835s=3.35%]
- 12/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001058s ] [0.001058s/0.031835s=3.32%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001056s ] [0.001056s/0.031835s=3.32%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000416s ] [0.000416s/0.031835s=1.31%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ] [0.000086s/0.031835s=0.27%]
- 16/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ] [0.000076s/0.031835s=0.24%]
- 17/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000071s ] [0.000071s/0.031835s=0.22%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ] [0.000063s/0.031835s=0.20%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000052s ] [0.000052s/0.031835s=0.16%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ] [0.000035s/0.031835s=0.11%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.031835s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.007708s ] 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.000964s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001145s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000875s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000821s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000803s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001059s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001344s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765623083 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'a4re7qivh7eaomi8ljki3gp37d' AND `createtime` > 1765363883 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001108s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000772s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000656s ]
- [ 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` = 'a4re7qivh7eaomi8ljki3gp37d' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002083s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001084s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000934s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000962s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000762s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000847s ]
- [ 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 < 1765623083 and b.endtime > 1765623083 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.001834s ]
- [ 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.002560s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001271s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000720s ]
- [ 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 < 1765623083 and b.endtime > 1765623083 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.001394s ]
- [ 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 < 1765623083 and b.endtime > 1765623083 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.001641s ]
- [ 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.000944s ]
- [ 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.005260s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765623083 > starttime && 1765623083 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001002s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000809s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000874s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 't-shirt-4' LIMIT 1 [ RunTime:0.001116s ]
- [ 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.000989s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000813s ]
- [ 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.000867s ]
- [ 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.000802s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [ RunTime:0.000887s ]
- [ 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.000854s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [ RunTime:0.000769s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [ RunTime:0.000799s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [ RunTime:0.000794s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [ RunTime:0.000775s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [ RunTime:0.000819s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [ RunTime:0.000834s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [ RunTime:0.000769s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [ RunTime:0.000819s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/9deebc2682778ed0/abad70b737ae11ba9d25c04bbea5d006.webp' LIMIT 1 [ RunTime:0.002254s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [ RunTime:0.001068s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [ RunTime:0.000817s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000847s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000927s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000765s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [ RunTime:0.000829s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [ RunTime:0.000848s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [ RunTime:0.000754s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [ RunTime:0.000794s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [ RunTime:0.000794s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [ RunTime:0.001079s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [ RunTime:0.000813s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [ RunTime:0.000780s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [ RunTime:0.000723s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000727s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000772s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000802s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.002122s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000835s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000838s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.000759s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001063s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000752s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000771s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000741s ]
- 1/72 . CONNECT:[ UseTime:0.007708s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710752089230;charset=utf8mb4 [0.007708s/0.081897s=9.41%]
- 2/72 . 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.005260s/0.081897s=6.42%]
- 3/72 . 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.002560s/0.081897s=3.13%]
- 4/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/9deebc2682778ed0/abad70b737ae11ba9d25c04bbea5d006.webp' LIMIT 1 [0.002254s/0.081897s=2.75%]
- 5/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.002122s/0.081897s=2.59%]
- 6/72 . 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` = 'a4re7qivh7eaomi8ljki3gp37d' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002083s/0.081897s=2.54%]
- 7/72 . 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 < 1765623083 and b.endtime > 1765623083 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.001834s/0.081897s=2.24%]
- 8/72 . 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 < 1765623083 and b.endtime > 1765623083 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.001641s/0.081897s=2.00%]
- 9/72 . 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 < 1765623083 and b.endtime > 1765623083 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.001394s/0.081897s=1.70%]
- 10/72 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001344s/0.081897s=1.64%]
- 11/72 . SELECT @@session.sql_mode [0.001271s/0.081897s=1.55%]
- 12/72 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001145s/0.081897s=1.40%]
- 13/72 . SELECT `id` FROM `category` WHERE `path` = 't-shirt-4' LIMIT 1 [0.001116s/0.081897s=1.36%]
- 14/72 . UPDATE `cart` SET `deletetime`=1765623083 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'a4re7qivh7eaomi8ljki3gp37d' AND `createtime` > 1765363883 ) AND `cart`.`deletetime` IS NULL [0.001108s/0.081897s=1.35%]
- 15/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001084s/0.081897s=1.32%]
- 16/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [0.001079s/0.081897s=1.32%]
- 17/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [0.001068s/0.081897s=1.30%]
- 18/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001063s/0.081897s=1.30%]
- 19/72 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001059s/0.081897s=1.29%]
- 20/72 . SELECT * FROM `activity` WHERE ( ( 1765623083 > starttime && 1765623083 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001002s/0.081897s=1.22%]
- 21/72 . 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.000989s/0.081897s=1.21%]
- 22/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.000973s/0.081897s=1.19%]
- 23/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000964s/0.081897s=1.18%]
- 24/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000962s/0.081897s=1.17%]
- 25/72 . 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.000944s/0.081897s=1.15%]
- 26/72 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000934s/0.081897s=1.14%]
- 27/72 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000930s/0.081897s=1.14%]
- 28/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000927s/0.081897s=1.13%]
- 29/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [0.000887s/0.081897s=1.08%]
- 30/72 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000875s/0.081897s=1.07%]
- 31/72 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000874s/0.081897s=1.07%]
- 32/72 . 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.000867s/0.081897s=1.06%]
- 33/72 . 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.000854s/0.081897s=1.04%]
- 34/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [0.000848s/0.081897s=1.04%]
- 35/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000847s/0.081897s=1.03%]
- 36/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000847s/0.081897s=1.03%]
- 37/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000838s/0.081897s=1.02%]
- 38/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000835s/0.081897s=1.02%]
- 39/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [0.000834s/0.081897s=1.02%]
- 40/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [0.000829s/0.081897s=1.01%]
- 41/72 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000821s/0.081897s=1.00%]
- 42/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [0.000819s/0.081897s=1.00%]
- 43/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [0.000819s/0.081897s=1.00%]
- 44/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [0.000817s/0.081897s=1.00%]
- 45/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [0.000813s/0.081897s=0.99%]
- 46/72 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000813s/0.081897s=0.99%]
- 47/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000809s/0.081897s=0.99%]
- 48/72 . set time_zone = '+08:00' [0.000803s/0.081897s=0.98%]
- 49/72 . 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.000802s/0.081897s=0.98%]
- 50/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000802s/0.081897s=0.98%]
- 51/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [0.000799s/0.081897s=0.98%]
- 52/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [0.000794s/0.081897s=0.97%]
- 53/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [0.000794s/0.081897s=0.97%]
- 54/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [0.000794s/0.081897s=0.97%]
- 55/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [0.000780s/0.081897s=0.95%]
- 56/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [0.000778s/0.081897s=0.95%]
- 57/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [0.000775s/0.081897s=0.95%]
- 58/72 . SELECT @@session.sql_mode [0.000772s/0.081897s=0.94%]
- 59/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000772s/0.081897s=0.94%]
- 60/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000771s/0.081897s=0.94%]
- 61/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [0.000769s/0.081897s=0.94%]
- 62/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [0.000769s/0.081897s=0.94%]
- 63/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000765s/0.081897s=0.93%]
- 64/72 . SELECT @@session.sql_mode [0.000762s/0.081897s=0.93%]
- 65/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.000759s/0.081897s=0.93%]
- 66/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [0.000754s/0.081897s=0.92%]
- 67/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000752s/0.081897s=0.92%]
- 68/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000741s/0.081897s=0.90%]
- 69/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000727s/0.081897s=0.89%]
- 70/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [0.000723s/0.081897s=0.88%]
- 71/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000720s/0.081897s=0.88%]
- 72/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000656s/0.081897s=0.80%]
- 1/15. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004116s/0.081897s=5.03%]
- 2/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [3 times, 0.002264s/0.081897s=2.76%]
- 3/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [3 times, 0.002795s/0.081897s=3.41%]
- 4/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [3 times, 0.003795s/0.081897s=4.63%]
- 5/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [3 times, 0.002301s/0.081897s=2.81%]
- 6/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 41 LIMIT 1 [3 times, 0.002316s/0.081897s=2.83%]
- 7/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 42 LIMIT 1 [3 times, 0.002667s/0.081897s=3.26%]
- 8/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 43 LIMIT 1 [3 times, 0.002431s/0.081897s=2.97%]
- 9/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [3 times, 0.002539s/0.081897s=3.10%]
- 10/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 45 LIMIT 1 [3 times, 0.002704s/0.081897s=3.30%]
- 11/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 46 LIMIT 1 [3 times, 0.002422s/0.081897s=2.96%]
- 12/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 47 LIMIT 1 [3 times, 0.002347s/0.081897s=2.87%]
- 13/15. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 48 LIMIT 1 [3 times, 0.002455s/0.081897s=3.00%]
- 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.002523s/0.081897s=3.08%]
- 15/15. SELECT @@session.sql_mode [3 times, 0.002805s/0.081897s=3.43%]