基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-03-06 21:32:46 HTTP/1.1 GET : demobrooklyn.shoppaas.com/category/all
- 运行时间 : 0.167422s [ 吞吐率:5.97req/s ] 内存消耗:2,509.09kb 文件加载:256
- 查询信息 : [耗时:0.074096s/0.167422 44.26% ] 46 queries ,7 writes
- 缓存信息 : 28 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=l96tlo8b9skvcgvb6h3rjuc0cd
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000419s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000070s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000098s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'demobrooklyn.shoppaas.com',
'x-forwarded-for' => '18.217.164.202',
'referer' => 'http://demobrooklyn.shoppaas.com/category/all',
'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' => 'demobrooklyn.shoppaas.com',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.003016s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000032s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000069s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1695375012111:',
'type' => 'redis',
'host' => '172.31.98.126',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.016547s ]
- [ 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\googlepixel\Hook @global_header [ RunTime:0.000976s ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001399s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000847s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000002s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000871s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.013172s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000903s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000892s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000887s ]
- [ VIEW ] /wwwroot/addons/visituser/view/visit_record_page_stay_time.html [ array (
0 => 'unique_id',
1 => 'product_id',
) ]
- [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000274s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001400s ]
- 1/23 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.016547s ] [0.016547s/0.042061s=39.34%]
- 2/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.013172s ] [0.013172s/0.042061s=31.32%]
- 3/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.003016s ] [0.003016s/0.042061s=7.17%]
- 4/23 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001400s ] [0.001400s/0.042061s=3.33%]
- 5/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001399s ] [0.001399s/0.042061s=3.33%]
- 6/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000976s ] [0.000976s/0.042061s=2.32%]
- 7/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000903s ] [0.000903s/0.042061s=2.15%]
- 8/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000892s ] [0.000892s/0.042061s=2.12%]
- 9/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000887s ] [0.000887s/0.042061s=2.11%]
- 10/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000871s ] [0.000871s/0.042061s=2.07%]
- 11/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000847s ] [0.000847s/0.042061s=2.01%]
- 12/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000419s ] [0.000419s/0.042061s=1.00%]
- 13/23 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000274s ] [0.000274s/0.042061s=0.65%]
- 14/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000098s ] [0.000098s/0.042061s=0.23%]
- 15/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ] [0.000083s/0.042061s=0.20%]
- 16/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000070s ] [0.000070s/0.042061s=0.17%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000069s ] [0.000069s/0.042061s=0.16%]
- 18/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000048s ] [0.000048s/0.042061s=0.11%]
- 19/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000032s ] [0.000032s/0.042061s=0.08%]
- 20/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ] [0.000032s/0.042061s=0.08%]
- 21/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ] [0.000019s/0.042061s=0.05%]
- 22/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ] [0.000005s/0.042061s=0.01%]
- 23/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000002s ] [0.000002s/0.042061s=0.00%]
- [ DB ] CONNECT:[ UseTime:0.001662s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1695375012111;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.002171s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000758s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.003291s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001325s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.002107s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000674s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000573s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001256s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000863s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.002079s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.002781s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1741267966 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'l96tlo8b9skvcgvb6h3rjuc0cd' AND `createtime` > 1741008766 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001203s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.002134s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000545s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000529s ]
- [ 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` = 'l96tlo8b9skvcgvb6h3rjuc0cd' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.001381s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000554s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000662s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.002963s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '56be7468b2c732f54009ae117ca343e7' LIMIT 1 [ RunTime:0.001450s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.004464s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '78e02bfe4c07e53126b707eb9ff08bea' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001825s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000656s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000563s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000453s ]
- [ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.002203s ]
- [ 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.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 < 1741267966 and b.endtime > 1741267966 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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 [ RunTime:0.001374s ]
- [ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.002074s ]
- [ 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 (17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.002621s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000546s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000480s ]
- [ 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 < 1741267966 and b.endtime > 1741267966 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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.000984s ]
- [ 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.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 < 1741267966 and b.endtime > 1741267966 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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.001194s ]
- [ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.002049s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (17,16,15,14,13,12,11,10,9,8,7,6) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000800s ]
- [ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.002354s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (17,16,15,14,13,12,11,10,9,8,7,6) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000876s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1741267966 > starttime && 1741267966 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000691s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001131s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.002484s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.002155s ]
- [ 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.000732s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.002093s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000767s ]
- [ 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.000688s ]
- [ 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.000602s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 5 [ RunTime:0.000711s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,2,9,1,8) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000667s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,2,9,1,8) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,6,2,9,1,8) LIMIT 0,15 [ RunTime:0.000824s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,2,9,1,8) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000655s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,2,9,1,8) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000704s ]
- [ SQL ] SHOW COLUMNS FROM `themes` [ RunTime:0.001994s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000721s ]
- 1/54 . SHOW COLUMNS FROM `visit_log` [0.004464s/0.074096s=6.02%]
- 2/54 . SHOW COLUMNS FROM `payment` [0.003291s/0.074096s=4.44%]
- 3/54 . SHOW COLUMNS FROM `visit_user` [0.002963s/0.074096s=4.00%]
- 4/54 . SHOW COLUMNS FROM `product` [0.002781s/0.074096s=3.75%]
- 5/54 . 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 (17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.002621s/0.074096s=3.54%]
- 6/54 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.002484s/0.074096s=3.35%]
- 7/54 . SHOW COLUMNS FROM `product_sku_price` [0.002354s/0.074096s=3.18%]
- 8/54 . SHOW COLUMNS FROM `activity_product_sku_price` [0.002203s/0.074096s=2.97%]
- 9/54 . SHOW COLUMNS FROM `app_center` [0.002171s/0.074096s=2.93%]
- 10/54 . SHOW COLUMNS FROM `themes_lang` [0.002155s/0.074096s=2.91%]
- 11/54 . SHOW COLUMNS FROM `activity` [0.002134s/0.074096s=2.88%]
- 12/54 . SHOW COLUMNS FROM `config` [0.002107s/0.074096s=2.84%]
- 13/54 . SHOW COLUMNS FROM `themes_menu_item` [0.002093s/0.074096s=2.82%]
- 14/54 . SHOW COLUMNS FROM `cart` [0.002079s/0.074096s=2.81%]
- 15/54 . SHOW COLUMNS FROM `currency` [0.002074s/0.074096s=2.80%]
- 16/54 . SHOW COLUMNS FROM `discuss` [0.002049s/0.074096s=2.77%]
- 17/54 . SHOW COLUMNS FROM `themes` [0.001994s/0.074096s=2.69%]
- 18/54 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '78e02bfe4c07e53126b707eb9ff08bea' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.001825s/0.074096s=2.46%]
- 19/54 . CONNECT:[ UseTime:0.001662s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1695375012111;charset=utf8mb4 [0.001662s/0.074096s=2.24%]
- 20/54 . SELECT * FROM `visit_user` WHERE `visit_code` = '56be7468b2c732f54009ae117ca343e7' LIMIT 1 [0.001450s/0.074096s=1.96%]
- 21/54 . 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` = 'l96tlo8b9skvcgvb6h3rjuc0cd' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.001381s/0.074096s=1.86%]
- 22/54 . 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.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 < 1741267966 and b.endtime > 1741267966 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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 [0.001374s/0.074096s=1.85%]
- 23/54 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001325s/0.074096s=1.79%]
- 24/54 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001256s/0.074096s=1.70%]
- 25/54 . UPDATE `cart` SET `deletetime`=1741267966 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'l96tlo8b9skvcgvb6h3rjuc0cd' AND `createtime` > 1741008766 ) AND `cart`.`deletetime` IS NULL [0.001203s/0.074096s=1.62%]
- 26/54 . 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.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 < 1741267966 and b.endtime > 1741267966 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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.001194s/0.074096s=1.61%]
- 27/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001131s/0.074096s=1.53%]
- 28/54 . 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 < 1741267966 and b.endtime > 1741267966 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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.000984s/0.074096s=1.33%]
- 29/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (17,16,15,14,13,12,11,10,9,8,7,6) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000876s/0.074096s=1.18%]
- 30/54 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000863s/0.074096s=1.16%]
- 31/54 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,2,9,1,8) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,6,2,9,1,8) LIMIT 0,15 [0.000824s/0.074096s=1.11%]
- 32/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (17,16,15,14,13,12,11,10,9,8,7,6) ) AND `discuss`.`deletetime` IS NULL [0.000800s/0.074096s=1.08%]
- 33/54 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000767s/0.074096s=1.04%]
- 34/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000758s/0.074096s=1.02%]
- 35/54 . 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.000732s/0.074096s=0.99%]
- 36/54 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.000721s/0.074096s=0.97%]
- 37/54 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 5 [0.000711s/0.074096s=0.96%]
- 38/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,2,9,1,8) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000704s/0.074096s=0.95%]
- 39/54 . SELECT * FROM `activity` WHERE ( ( 1741267966 > starttime && 1741267966 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000691s/0.074096s=0.93%]
- 40/54 . 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.000688s/0.074096s=0.93%]
- 41/54 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000674s/0.074096s=0.91%]
- 42/54 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,2,9,1,8) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000667s/0.074096s=0.90%]
- 43/54 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000662s/0.074096s=0.89%]
- 44/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000656s/0.074096s=0.89%]
- 45/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,2,9,1,8) ) AND `discuss`.`deletetime` IS NULL [0.000655s/0.074096s=0.88%]
- 46/54 . 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.000602s/0.074096s=0.81%]
- 47/54 . set time_zone = '+08:00' [0.000573s/0.074096s=0.77%]
- 48/54 . SELECT @@session.sql_mode [0.000563s/0.074096s=0.76%]
- 49/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000554s/0.074096s=0.75%]
- 50/54 . SELECT @@session.sql_mode [0.000546s/0.074096s=0.74%]
- 51/54 . SELECT @@session.sql_mode [0.000545s/0.074096s=0.74%]
- 52/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000529s/0.074096s=0.71%]
- 53/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000480s/0.074096s=0.65%]
- 54/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000453s/0.074096s=0.61%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003147s/0.074096s=4.25%]
- 2/3. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.002022s/0.074096s=2.73%]
- 3/3. SELECT @@session.sql_mode [3 times, 0.001654s/0.074096s=2.23%]
- generateVisitCode:56be7468b2c732f54009ae117ca343e7
- 发布普通任务:shoppaas_1695375012111:-addons-job-job-VisitUser@requestJob:32541