基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-03-13 04:06:35 HTTP/1.1 GET : democustomv1.shoppaas.com/category/all?page=3
- 运行时间 : 0.151856s [ 吞吐率:6.59req/s ] 内存消耗:3,150.46kb 文件加载:257
- 查询信息 : [耗时:0.077421s/0.151856 50.98% ] 44 queries ,7 writes
- 缓存信息 : 19 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=mia8e7in3r2glg81nqthpno4v6
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000284s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000056s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000064s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'democustomv1.shoppaas.com',
'x-forwarded-for' => '13.59.17.200',
'cookie' => 'fikker-bC6N-VgVE=8LjeBCTSMAHC09Ie4SJQp9jLnini8mBk',
'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' => 'democustomv1.shoppaas.com',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '3',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002045s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000026s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000076s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1691032056740:',
'type' => 'redis',
'host' => '172.31.98.126',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.019000s ]
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/customv1/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.000910s ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000911s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000871s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000003s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000856s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000643s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001272s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000909s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000586s ]
- [ 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.000306s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001484s ]
- 1/23 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.019000s ] [0.019000s/0.030449s=62.40%]
- 2/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002045s ] [0.002045s/0.030449s=6.72%]
- 3/23 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001484s ] [0.001484s/0.030449s=4.87%]
- 4/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001272s ] [0.001272s/0.030449s=4.18%]
- 5/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000911s ] [0.000911s/0.030449s=2.99%]
- 6/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000910s ] [0.000910s/0.030449s=2.99%]
- 7/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000909s ] [0.000909s/0.030449s=2.99%]
- 8/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000871s ] [0.000871s/0.030449s=2.86%]
- 9/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000856s ] [0.000856s/0.030449s=2.81%]
- 10/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000643s ] [0.000643s/0.030449s=2.11%]
- 11/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000586s ] [0.000586s/0.030449s=1.92%]
- 12/23 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000306s ] [0.000306s/0.030449s=1.00%]
- 13/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000284s ] [0.000284s/0.030449s=0.93%]
- 14/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000076s ] [0.000076s/0.030449s=0.25%]
- 15/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000064s ] [0.000064s/0.030449s=0.21%]
- 16/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000056s ] [0.000056s/0.030449s=0.18%]
- 17/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000048s ] [0.000048s/0.030449s=0.16%]
- 18/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000047s ] [0.000047s/0.030449s=0.15%]
- 19/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ] [0.000034s/0.030449s=0.11%]
- 20/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000026s ] [0.000026s/0.030449s=0.09%]
- 21/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.030449s=0.04%]
- 22/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ] [0.000005s/0.030449s=0.02%]
- 23/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000003s ] [0.000003s/0.030449s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.001051s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1691032056740;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.004786s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000864s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.002869s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.000865s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.003197s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000864s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.002944s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000744s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000601s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000721s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000738s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.002800s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.003061s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1741809995 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'mia8e7in3r2glg81nqthpno4v6' AND `createtime` > 1741550795 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000893s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.001966s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000604s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000535s ]
- [ 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` = 'mia8e7in3r2glg81nqthpno4v6' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.001198s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000561s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000631s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.002662s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '79c360b0ef0985386a2f440bcb867db8' LIMIT 1 [ RunTime:0.003139s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.003076s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '80e5ee7e5fce35157c4971e07115011a' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.003722s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000695s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000606s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000530s ]
- [ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.001968s ]
- [ 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 < 1741809995 and b.endtime > 1741809995 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(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( 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.001783s ]
- [ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.002760s ]
- [ 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 (22,30,29,28,27,26,25,24,23,21,20,19,18,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.003007s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000578s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000531s ]
- [ 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 < 1741809995 and b.endtime > 1741809995 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(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( 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.000994s ]
- [ 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 < 1741809995 and b.endtime > 1741809995 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(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( 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 24,12 [ RunTime:0.001337s ]
- [ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.002077s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000778s ]
- [ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.002787s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000920s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1741809995 > starttime && 1741809995 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000719s ]
- [ SQL ] SHOW COLUMNS FROM `product_supplier` [ RunTime:0.001985s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000650s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000562s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000626s ]
- [ 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.000670s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.002385s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000743s ]
- [ 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.000666s ]
- [ 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.000635s ]
- [ 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.000629s ]
- [ 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.000708s ]
- 1/52 . SHOW COLUMNS FROM `app_center` [0.004786s/0.077421s=6.18%]
- 2/52 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '80e5ee7e5fce35157c4971e07115011a' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.003722s/0.077421s=4.81%]
- 3/52 . SHOW COLUMNS FROM `payment` [0.003197s/0.077421s=4.13%]
- 4/52 . SELECT * FROM `visit_user` WHERE `visit_code` = '79c360b0ef0985386a2f440bcb867db8' LIMIT 1 [0.003139s/0.077421s=4.05%]
- 5/52 . SHOW COLUMNS FROM `visit_log` [0.003076s/0.077421s=3.97%]
- 6/52 . SHOW COLUMNS FROM `product` [0.003061s/0.077421s=3.95%]
- 7/52 . 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 (22,30,29,28,27,26,25,24,23,21,20,19,18,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.003007s/0.077421s=3.88%]
- 8/52 . SHOW COLUMNS FROM `config` [0.002944s/0.077421s=3.80%]
- 9/52 . SHOW COLUMNS FROM `themes_lang` [0.002869s/0.077421s=3.71%]
- 10/52 . SHOW COLUMNS FROM `cart` [0.002800s/0.077421s=3.62%]
- 11/52 . SHOW COLUMNS FROM `product_sku_price` [0.002787s/0.077421s=3.60%]
- 12/52 . SHOW COLUMNS FROM `currency` [0.002760s/0.077421s=3.56%]
- 13/52 . SHOW COLUMNS FROM `visit_user` [0.002662s/0.077421s=3.44%]
- 14/52 . SHOW COLUMNS FROM `themes_menu_item` [0.002385s/0.077421s=3.08%]
- 15/52 . SHOW COLUMNS FROM `discuss` [0.002077s/0.077421s=2.68%]
- 16/52 . SHOW COLUMNS FROM `product_supplier` [0.001985s/0.077421s=2.56%]
- 17/52 . SHOW COLUMNS FROM `activity_product_sku_price` [0.001968s/0.077421s=2.54%]
- 18/52 . SHOW COLUMNS FROM `activity` [0.001966s/0.077421s=2.54%]
- 19/52 . 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 < 1741809995 and b.endtime > 1741809995 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(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( 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.001783s/0.077421s=2.30%]
- 20/52 . 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 < 1741809995 and b.endtime > 1741809995 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(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( 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 24,12 [0.001337s/0.077421s=1.73%]
- 21/52 . 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` = 'mia8e7in3r2glg81nqthpno4v6' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.001198s/0.077421s=1.55%]
- 22/52 . CONNECT:[ UseTime:0.001051s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1691032056740;charset=utf8mb4 [0.001051s/0.077421s=1.36%]
- 23/52 . 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 < 1741809995 and b.endtime > 1741809995 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(14, category_ids) ) OR ( find_in_set(13, category_ids) ) OR ( find_in_set(12, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( 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.000994s/0.077421s=1.28%]
- 24/52 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000920s/0.077421s=1.19%]
- 25/52 . UPDATE `cart` SET `deletetime`=1741809995 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'mia8e7in3r2glg81nqthpno4v6' AND `createtime` > 1741550795 ) AND `cart`.`deletetime` IS NULL [0.000893s/0.077421s=1.15%]
- 26/52 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.000865s/0.077421s=1.12%]
- 27/52 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000864s/0.077421s=1.12%]
- 28/52 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000864s/0.077421s=1.12%]
- 29/52 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.000778s/0.077421s=1.00%]
- 30/52 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000744s/0.077421s=0.96%]
- 31/52 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000743s/0.077421s=0.96%]
- 32/52 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000738s/0.077421s=0.95%]
- 33/52 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000721s/0.077421s=0.93%]
- 34/52 . SELECT * FROM `activity` WHERE ( ( 1741809995 > starttime && 1741809995 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000719s/0.077421s=0.93%]
- 35/52 . 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.000708s/0.077421s=0.91%]
- 36/52 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000695s/0.077421s=0.90%]
- 37/52 . 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.000670s/0.077421s=0.87%]
- 38/52 . 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.000666s/0.077421s=0.86%]
- 39/52 . SELECT `name` FROM `product_supplier` WHERE `id` = 7 LIMIT 1 [0.000650s/0.077421s=0.84%]
- 40/52 . 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.000635s/0.077421s=0.82%]
- 41/52 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000631s/0.077421s=0.82%]
- 42/52 . 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.000629s/0.077421s=0.81%]
- 43/52 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000626s/0.077421s=0.81%]
- 44/52 . SELECT @@session.sql_mode [0.000606s/0.077421s=0.78%]
- 45/52 . SELECT @@session.sql_mode [0.000604s/0.077421s=0.78%]
- 46/52 . set time_zone = '+08:00' [0.000601s/0.077421s=0.78%]
- 47/52 . SELECT @@session.sql_mode [0.000578s/0.077421s=0.75%]
- 48/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000562s/0.077421s=0.73%]
- 49/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000561s/0.077421s=0.72%]
- 50/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000535s/0.077421s=0.69%]
- 51/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000531s/0.077421s=0.69%]
- 52/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000530s/0.077421s=0.68%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.002719s/0.077421s=3.51%]
- 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 [5 times, 0.003308s/0.077421s=4.27%]
- 3/3. SELECT @@session.sql_mode [3 times, 0.001788s/0.077421s=2.31%]
- generateVisitCode:79c360b0ef0985386a2f440bcb867db8
- 发布普通任务:shoppaas_1691032056740:-addons-job-job-VisitUser@requestJob:53308