基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-17 13:00:33 HTTP/1.1 GET : zxtest005.test3.shoppaas.co/category
- 运行时间 : 0.255354s [ 吞吐率:3.92req/s ] 内存消耗:22,163.05kb 文件加载:288
- 查询信息 : [耗时:0.068189s/0.255354 26.70% ] 22 queries ,4 writes
- 缓存信息 : 7 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=oqp7it6gd45qrduaih988jugn9
- [ 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.000445s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'category',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxtest005.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.151',
'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' => 'zxtest005.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005003s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000052s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000107s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1710852847007:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Category->index[ /wwwroot/application/index/controller/Category.php ]
- [ VIEW ] /wwwroot/template/ella/template/category_index.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 => 'global_css',
14 => 'theme_diy_mode',
15 => 'theme_config',
16 => 'icon_image',
17 => 'head_code',
18 => 'end_code',
19 => 'controllername',
20 => 'actionname',
21 => 'user',
22 => 'language',
23 => 'lang',
24 => 'is_rtl_lang',
25 => 'site',
26 => 'config',
27 => 'currency_switch',
28 => 'currency_list',
29 => 'currency_site',
30 => 'currency',
31 => 'cart',
32 => 'subscribing',
33 => 'login',
34 => 'policies',
35 => 'is_mobile',
36 => 'not_show_login',
37 => 'customer_login_status',
38 => 'config_site_version',
39 => 'categoryList',
40 => 'categorySelected',
41 => 'seotitle',
42 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000097s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001793s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001660s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001894s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001805s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001906s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001895s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001895s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001102s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001784s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000050s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005003s ] [0.005003s/0.021849s=22.90%]
- 2/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001906s ] [0.001906s/0.021849s=8.72%]
- 3/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001895s ] [0.001895s/0.021849s=8.67%]
- 4/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001895s ] [0.001895s/0.021849s=8.67%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001894s ] [0.001894s/0.021849s=8.67%]
- 6/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001805s ] [0.001805s/0.021849s=8.26%]
- 7/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001793s ] [0.001793s/0.021849s=8.21%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001784s ] [0.001784s/0.021849s=8.17%]
- 9/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001660s ] [0.001660s/0.021849s=7.60%]
- 10/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001102s ] [0.001102s/0.021849s=5.04%]
- 11/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000445s ] [0.000445s/0.021849s=2.04%]
- 12/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000107s ] [0.000107s/0.021849s=0.49%]
- 13/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000097s ] [0.000097s/0.021849s=0.44%]
- 14/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ] [0.000090s/0.021849s=0.41%]
- 15/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ] [0.000080s/0.021849s=0.37%]
- 16/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000076s ] [0.000076s/0.021849s=0.35%]
- 17/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ] [0.000065s/0.021849s=0.30%]
- 18/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000052s ] [0.000052s/0.021849s=0.24%]
- 19/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000050s ] [0.000050s/0.021849s=0.23%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ] [0.000036s/0.021849s=0.16%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.021849s=0.06%]
- [ DB ] CONNECT:[ UseTime:0.004777s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710852847007;charset=utf8mb4
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.016285s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001481s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001499s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001112s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001518s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001088s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765947633 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'oqp7it6gd45qrduaih988jugn9' AND `createtime` > 1765688433 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001091s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002694s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000717s ]
- [ 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` = 'oqp7it6gd45qrduaih988jugn9' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.004918s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001362s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000863s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.005074s ]
- [ SQL ] SELECT * FROM `category` [ RunTime:0.003268s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001104s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001157s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001093s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001525s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001172s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001491s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001626s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001306s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('9',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001076s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001256s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [ RunTime:0.005914s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001722s ]
- 1/27 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.016285s/0.068189s=23.88%]
- 2/27 . SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [0.005914s/0.068189s=8.67%]
- 3/27 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.005074s/0.068189s=7.44%]
- 4/27 . 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` = 'oqp7it6gd45qrduaih988jugn9' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.004918s/0.068189s=7.21%]
- 5/27 . CONNECT:[ UseTime:0.004777s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710852847007;charset=utf8mb4 [0.004777s/0.068189s=7.01%]
- 6/27 . SELECT * FROM `category` [0.003268s/0.068189s=4.79%]
- 7/27 . SELECT @@session.sql_mode [0.002694s/0.068189s=3.95%]
- 8/27 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001722s/0.068189s=2.53%]
- 9/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001626s/0.068189s=2.38%]
- 10/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001525s/0.068189s=2.24%]
- 11/27 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001518s/0.068189s=2.23%]
- 12/27 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001499s/0.068189s=2.20%]
- 13/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001491s/0.068189s=2.19%]
- 14/27 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001481s/0.068189s=2.17%]
- 15/27 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001362s/0.068189s=2.00%]
- 16/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001306s/0.068189s=1.92%]
- 17/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001256s/0.068189s=1.84%]
- 18/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001172s/0.068189s=1.72%]
- 19/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001157s/0.068189s=1.70%]
- 20/27 . set time_zone = '+08:00' [0.001112s/0.068189s=1.63%]
- 21/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001104s/0.068189s=1.62%]
- 22/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001093s/0.068189s=1.60%]
- 23/27 . UPDATE `cart` SET `deletetime`=1765947633 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'oqp7it6gd45qrduaih988jugn9' AND `createtime` > 1765688433 ) AND `cart`.`deletetime` IS NULL [0.001091s/0.068189s=1.60%]
- 24/27 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001088s/0.068189s=1.60%]
- 25/27 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('9',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001076s/0.068189s=1.58%]
- 26/27 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000863s/0.068189s=1.27%]
- 27/27 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000717s/0.068189s=1.05%]
- 1/1. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.002079s/0.068189s=3.05%]