基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-03-17 10:29:06 HTTP/1.1 GET : democustomv1.shoppaas.com/all?page=2
- 运行时间 : 0.132993s [ 吞吐率:7.52req/s ] 内存消耗:3,298.48kb 文件加载:257
- 查询信息 : [耗时:0.043394s/0.132993 32.63% ] 41 queries ,7 writes
- 缓存信息 : 25 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=8lelrnnj1b4bs5m5du1p3s89e7
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000268s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000044s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000053s ]
- [ 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' => '18.97.14.83',
'accept-language' => 'en-US,en;q=0.5',
'accept-encoding' => 'br,gzip',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'user-agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'host' => 'democustomv1.shoppaas.com',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '2',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002386s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000096s ]
- [ 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.011960s ]
- [ 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.005611s ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000989s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001018s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000004s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001006s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000714s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001030s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001097s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000642s ]
- [ 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.000314s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001560s ]
- 1/23 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.011960s ] [0.011960s/0.028985s=41.26%]
- 2/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.005611s ] [0.005611s/0.028985s=19.36%]
- 3/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002386s ] [0.002386s/0.028985s=8.23%]
- 4/23 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001560s ] [0.001560s/0.028985s=5.38%]
- 5/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001097s ] [0.001097s/0.028985s=3.78%]
- 6/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001030s ] [0.001030s/0.028985s=3.55%]
- 7/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001018s ] [0.001018s/0.028985s=3.51%]
- 8/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001006s ] [0.001006s/0.028985s=3.47%]
- 9/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000989s ] [0.000989s/0.028985s=3.41%]
- 10/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000714s ] [0.000714s/0.028985s=2.46%]
- 11/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000642s ] [0.000642s/0.028985s=2.21%]
- 12/23 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000314s ] [0.000314s/0.028985s=1.08%]
- 13/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000268s ] [0.000268s/0.028985s=0.92%]
- 14/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000096s ] [0.000096s/0.028985s=0.33%]
- 15/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000064s ] [0.000064s/0.028985s=0.22%]
- 16/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000053s ] [0.000053s/0.028985s=0.18%]
- 17/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000048s ] [0.000048s/0.028985s=0.17%]
- 18/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000044s ] [0.000044s/0.028985s=0.15%]
- 19/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ] [0.000038s/0.028985s=0.13%]
- 20/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.028985s=0.09%]
- 21/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.028985s=0.04%]
- 22/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000005s ] [0.000005s/0.028985s=0.02%]
- 23/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000004s ] [0.000004s/0.028985s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.000740s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1691032056740;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.001066s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000521s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.001274s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000581s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.001257s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000492s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000586s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000473s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000417s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.001126s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.001136s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1742178547 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8lelrnnj1b4bs5m5du1p3s89e7' AND `createtime` > 1741919347 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000823s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.001383s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000399s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000453s ]
- [ 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` = '8lelrnnj1b4bs5m5du1p3s89e7' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.001328s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000308s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000574s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.001376s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = 'd615f0763abadafad2f5631ede287a35' LIMIT 1 [ RunTime:0.001312s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.001175s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '89cbe1ce9dee1d38fe98aa2bde9a0df2' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001694s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000572s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000438s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000263s ]
- [ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.002089s ]
- [ 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 < 1742178547 and b.endtime > 1742178547 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.001512s ]
- [ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.001111s ]
- [ 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.004516s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000439s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000381s ]
- [ 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 < 1742178547 and b.endtime > 1742178547 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.000933s ]
- [ 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 < 1742178547 and b.endtime > 1742178547 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 12,12 [ RunTime:0.001213s ]
- [ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.001097s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (18,17,16,15,14,13,12,11,10,9,8,7) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000536s ]
- [ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.000954s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (18,17,16,15,14,13,12,11,10,9,8,7) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000680s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1742178547 > starttime && 1742178547 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000455s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000385s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000442s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.000986s ]
- [ 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.000518s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.001074s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000439s ]
- [ 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.000463s ]
- [ 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.000463s ]
- [ 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.000419s ]
- [ 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.000522s ]
- 1/49 . 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.004516s/0.043394s=10.41%]
- 2/49 . SHOW COLUMNS FROM `activity_product_sku_price` [0.002089s/0.043394s=4.81%]
- 3/49 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '89cbe1ce9dee1d38fe98aa2bde9a0df2' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.001694s/0.043394s=3.90%]
- 4/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.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 < 1742178547 and b.endtime > 1742178547 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.001512s/0.043394s=3.48%]
- 5/49 . SHOW COLUMNS FROM `activity` [0.001383s/0.043394s=3.19%]
- 6/49 . SHOW COLUMNS FROM `visit_user` [0.001376s/0.043394s=3.17%]
- 7/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` = '8lelrnnj1b4bs5m5du1p3s89e7' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.001328s/0.043394s=3.06%]
- 8/49 . SELECT * FROM `visit_user` WHERE `visit_code` = 'd615f0763abadafad2f5631ede287a35' LIMIT 1 [0.001312s/0.043394s=3.02%]
- 9/49 . SHOW COLUMNS FROM `payment` [0.001274s/0.043394s=2.94%]
- 10/49 . SHOW COLUMNS FROM `config` [0.001257s/0.043394s=2.90%]
- 11/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.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 < 1742178547 and b.endtime > 1742178547 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 12,12 [0.001213s/0.043394s=2.80%]
- 12/49 . SHOW COLUMNS FROM `visit_log` [0.001175s/0.043394s=2.71%]
- 13/49 . SHOW COLUMNS FROM `product` [0.001136s/0.043394s=2.62%]
- 14/49 . SHOW COLUMNS FROM `cart` [0.001126s/0.043394s=2.59%]
- 15/49 . SHOW COLUMNS FROM `currency` [0.001111s/0.043394s=2.56%]
- 16/49 . SHOW COLUMNS FROM `discuss` [0.001097s/0.043394s=2.53%]
- 17/49 . SHOW COLUMNS FROM `themes_menu_item` [0.001074s/0.043394s=2.47%]
- 18/49 . SHOW COLUMNS FROM `app_center` [0.001066s/0.043394s=2.46%]
- 19/49 . SHOW COLUMNS FROM `themes_lang` [0.000986s/0.043394s=2.27%]
- 20/49 . SHOW COLUMNS FROM `product_sku_price` [0.000954s/0.043394s=2.20%]
- 21/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 < 1742178547 and b.endtime > 1742178547 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.000933s/0.043394s=2.15%]
- 22/49 . UPDATE `cart` SET `deletetime`=1742178547 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8lelrnnj1b4bs5m5du1p3s89e7' AND `createtime` > 1741919347 ) AND `cart`.`deletetime` IS NULL [0.000823s/0.043394s=1.90%]
- 23/49 . CONNECT:[ UseTime:0.000740s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1691032056740;charset=utf8mb4 [0.000740s/0.043394s=1.71%]
- 24/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (18,17,16,15,14,13,12,11,10,9,8,7) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000680s/0.043394s=1.57%]
- 25/49 . set time_zone = '+08:00' [0.000586s/0.043394s=1.35%]
- 26/49 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000581s/0.043394s=1.34%]
- 27/49 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000574s/0.043394s=1.32%]
- 28/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000572s/0.043394s=1.32%]
- 29/49 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (18,17,16,15,14,13,12,11,10,9,8,7) ) AND `discuss`.`deletetime` IS NULL [0.000536s/0.043394s=1.24%]
- 30/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.000522s/0.043394s=1.20%]
- 31/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000521s/0.043394s=1.20%]
- 32/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.000518s/0.043394s=1.19%]
- 33/49 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000492s/0.043394s=1.13%]
- 34/49 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000473s/0.043394s=1.09%]
- 35/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.000463s/0.043394s=1.07%]
- 36/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.000463s/0.043394s=1.07%]
- 37/49 . SELECT * FROM `activity` WHERE ( ( 1742178547 > starttime && 1742178547 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000455s/0.043394s=1.05%]
- 38/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000453s/0.043394s=1.04%]
- 39/49 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000442s/0.043394s=1.02%]
- 40/49 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000439s/0.043394s=1.01%]
- 41/49 . SELECT @@session.sql_mode [0.000439s/0.043394s=1.01%]
- 42/49 . SELECT @@session.sql_mode [0.000438s/0.043394s=1.01%]
- 43/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.000419s/0.043394s=0.97%]
- 44/49 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000417s/0.043394s=0.96%]
- 45/49 . SELECT @@session.sql_mode [0.000399s/0.043394s=0.92%]
- 46/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000385s/0.043394s=0.89%]
- 47/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000381s/0.043394s=0.88%]
- 48/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000308s/0.043394s=0.71%]
- 49/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000263s/0.043394s=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.00179s/0.043394s=4.12%]
- 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.002385s/0.043394s=5.50%]
- 3/3. SELECT @@session.sql_mode [3 times, 0.001276s/0.043394s=2.94%]
- generateVisitCode:d615f0763abadafad2f5631ede287a35
- 发布普通任务:shoppaas_1691032056740:-addons-job-job-VisitUser@requestJob:53806