基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-18 14:54:19 HTTP/1.1 GET : zxsc.test3.shoppaas.co/activity/marketing_discounts/1?page=1
- 运行时间 : 0.163331s [ 吞吐率:6.12req/s ] 内存消耗:6,757.70kb 文件加载:264
- 查询信息 : [耗时:0.052115s/0.163331 31.91% ] 42 queries ,6 writes
- 缓存信息 : 9 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=qvo7vuh7v4csh432bd46dr18s6
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000246s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000062s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000073s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'dicount_lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxsc.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.144',
'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' => 'zxsc.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '1',
'type' => 'marketing_discounts',
'id' => '1',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004855s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000026s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000026s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1704443956137:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->dicount_lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/arise/template/product_discounts_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 => 'productList',
40 => 'empty',
41 => 'view',
42 => 'order',
43 => 'seotitle',
44 => 'tag',
45 => 'seokeywords',
46 => 'seodescription',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000090s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001771s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001685s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001766s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001685s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001732s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001719s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001333s ]
- [ 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.002260s ]
- [ 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.000372s ]
- [ 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.000312s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001040s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001761s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000046s ]
- 1/24 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004855s ] [0.004855s/0.023037s=21.07%]
- 2/24 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002260s ] [0.002260s/0.023037s=9.81%]
- 3/24 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001771s ] [0.001771s/0.023037s=7.69%]
- 4/24 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001766s ] [0.001766s/0.023037s=7.67%]
- 5/24 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001761s ] [0.001761s/0.023037s=7.64%]
- 6/24 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001732s ] [0.001732s/0.023037s=7.52%]
- 7/24 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001719s ] [0.001719s/0.023037s=7.46%]
- 8/24 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001685s ] [0.001685s/0.023037s=7.31%]
- 9/24 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001685s ] [0.001685s/0.023037s=7.31%]
- 10/24 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001333s ] [0.001333s/0.023037s=5.79%]
- 11/24 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001040s ] [0.001040s/0.023037s=4.51%]
- 12/24 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000372s ] [0.000372s/0.023037s=1.61%]
- 13/24 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000312s ] [0.000312s/0.023037s=1.35%]
- 14/24 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000246s ] [0.000246s/0.023037s=1.07%]
- 15/24 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000090s ] [0.000090s/0.023037s=0.39%]
- 16/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000073s ] [0.000073s/0.023037s=0.32%]
- 17/24 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.023037s=0.29%]
- 18/24 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000062s ] [0.000062s/0.023037s=0.27%]
- 19/24 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ] [0.000054s/0.023037s=0.23%]
- 20/24 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000046s ] [0.000046s/0.023037s=0.20%]
- 21/24 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000045s ] [0.000045s/0.023037s=0.20%]
- 22/24 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000026s ] [0.000026s/0.023037s=0.11%]
- 23/24 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000026s ] [0.000026s/0.023037s=0.11%]
- 24/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.023037s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.001921s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704443956137;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000916s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001000s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000884s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000929s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000830s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000977s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001034s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1771397659 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'qvo7vuh7v4csh432bd46dr18s6' AND `createtime` > 1771138459 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001167s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000795s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000785s ]
- [ 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` = 'qvo7vuh7v4csh432bd46dr18s6' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001570s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000722s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000853s ]
- [ SQL ] SELECT * FROM `marketing_discount_gift_reduced` WHERE ( `id` = 1 ) AND `marketing_discount_gift_reduced`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001266s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000817s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000712s ]
- [ 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 < 1771397659 and b.endtime > 1771397659 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) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001648s ]
- [ 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 < 1771397659 and b.endtime > 1771397659 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) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001972s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,17,16,15,14,13,12,11,10,9,8) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001208s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,17,16,15,14,13,12,11,10,9,8) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004204s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1771397659 > starttime && 1771397659 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001064s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001146s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ 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.000964s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001185s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000859s ]
- [ 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.000914s ]
- [ 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.000919s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000837s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000767s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000789s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000832s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000976s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001263s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000880s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000893s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000857s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000710s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000940s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.000842s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001088s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.000935s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000792s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.000860s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000872s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.000916s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000924s ]
- 1/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,17,16,15,14,13,12,11,10,9,8) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004204s/0.052115s=8.07%]
- 2/49 . 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 < 1771397659 and b.endtime > 1771397659 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) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001972s/0.052115s=3.78%]
- 3/49 . CONNECT:[ UseTime:0.001921s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704443956137;charset=utf8mb4 [0.001921s/0.052115s=3.69%]
- 4/49 . 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 < 1771397659 and b.endtime > 1771397659 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) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001648s/0.052115s=3.16%]
- 5/49 . 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` = 'qvo7vuh7v4csh432bd46dr18s6' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001570s/0.052115s=3.01%]
- 6/49 . SELECT * FROM `marketing_discount_gift_reduced` WHERE ( `id` = 1 ) AND `marketing_discount_gift_reduced`.`deletetime` IS NULL LIMIT 1 [0.001266s/0.052115s=2.43%]
- 7/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001263s/0.052115s=2.42%]
- 8/49 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,17,16,15,14,13,12,11,10,9,8) ) AND `discuss`.`deletetime` IS NULL [0.001208s/0.052115s=2.32%]
- 9/49 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001185s/0.052115s=2.27%]
- 10/49 . UPDATE `cart` SET `deletetime`=1771397659 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'qvo7vuh7v4csh432bd46dr18s6' AND `createtime` > 1771138459 ) AND `cart`.`deletetime` IS NULL [0.001167s/0.052115s=2.24%]
- 11/49 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001146s/0.052115s=2.20%]
- 12/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001088s/0.052115s=2.09%]
- 13/49 . SELECT * FROM `activity` WHERE ( ( 1771397659 > starttime && 1771397659 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001064s/0.052115s=2.04%]
- 14/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001044s/0.052115s=2.00%]
- 15/49 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001034s/0.052115s=1.98%]
- 16/49 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001000s/0.052115s=1.92%]
- 17/49 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000977s/0.052115s=1.87%]
- 18/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000976s/0.052115s=1.87%]
- 19/49 . 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.000964s/0.052115s=1.85%]
- 20/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000940s/0.052115s=1.80%]
- 21/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.000935s/0.052115s=1.79%]
- 22/49 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000929s/0.052115s=1.78%]
- 23/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000924s/0.052115s=1.77%]
- 24/49 . 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.000919s/0.052115s=1.76%]
- 25/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.000916s/0.052115s=1.76%]
- 26/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000916s/0.052115s=1.76%]
- 27/49 . 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.000914s/0.052115s=1.75%]
- 28/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000893s/0.052115s=1.71%]
- 29/49 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000884s/0.052115s=1.70%]
- 30/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000880s/0.052115s=1.69%]
- 31/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000872s/0.052115s=1.67%]
- 32/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.000860s/0.052115s=1.65%]
- 33/49 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000859s/0.052115s=1.65%]
- 34/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000857s/0.052115s=1.64%]
- 35/49 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000853s/0.052115s=1.64%]
- 36/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.000842s/0.052115s=1.62%]
- 37/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000837s/0.052115s=1.61%]
- 38/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000837s/0.052115s=1.61%]
- 39/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000832s/0.052115s=1.60%]
- 40/49 . set time_zone = '+08:00' [0.000830s/0.052115s=1.59%]
- 41/49 . SELECT @@session.sql_mode [0.000817s/0.052115s=1.57%]
- 42/49 . SELECT @@session.sql_mode [0.000795s/0.052115s=1.53%]
- 43/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000792s/0.052115s=1.52%]
- 44/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000789s/0.052115s=1.51%]
- 45/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000785s/0.052115s=1.51%]
- 46/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000767s/0.052115s=1.47%]
- 47/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000722s/0.052115s=1.39%]
- 48/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000712s/0.052115s=1.37%]
- 49/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000710s/0.052115s=1.36%]
- 1/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [5 times, 0.004597s/0.052115s=8.82%]
- 2/7. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [5 times, 0.004616s/0.052115s=8.86%]
- 3/7. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [5 times, 0.004465s/0.052115s=8.57%]
- 4/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [5 times, 0.004339s/0.052115s=8.33%]
- 5/7. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [4 times, 0.003056s/0.052115s=5.86%]
- 6/7. 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.002797s/0.052115s=5.37%]
- 7/7. SELECT @@session.sql_mode [2 times, 0.001612s/0.052115s=3.09%]