基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2024-11-26 15:25:41 HTTP/1.1 GET : saasa.cn/all
- 运行时间 : 0.701914s [ 吞吐率:1.42req/s ] 内存消耗:2,627.47kb 文件加载:252
- 查询信息 : [耗时:0.488145s/0.701914 69.54% ] 56 queries ,7 writes
- 缓存信息 : 23 reads,5 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=ko1ro9rbnkh8seca2269rqrp0l
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000020s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000393s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000097s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000113s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'saasa.cn',
'x-forwarded-for' => '18.216.250.143',
'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' => 'saasa.cn',
'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.003058s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000042s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000101s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1714304268836:',
'type' => 'redis',
'host' => '172.31.98.116',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.043258s ]
- [ 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',
) ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/global_header.html [ array (
0 => 'site',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.001071s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.002039s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000013s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000921s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.001793s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001643s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.006121s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001524s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000917s ]
- [ 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.001157s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002127s ]
- 1/21 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.043258s ] [0.043258s/0.066543s=65.01%]
- 2/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.006121s ] [0.006121s/0.066543s=9.20%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.003058s ] [0.003058s/0.066543s=4.60%]
- 4/21 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002127s ] [0.002127s/0.066543s=3.20%]
- 5/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.002039s ] [0.002039s/0.066543s=3.06%]
- 6/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.001793s ] [0.001793s/0.066543s=2.69%]
- 7/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001643s ] [0.001643s/0.066543s=2.47%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001524s ] [0.001524s/0.066543s=2.29%]
- 9/21 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.001157s ] [0.001157s/0.066543s=1.74%]
- 10/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.001071s ] [0.001071s/0.066543s=1.61%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000921s ] [0.000921s/0.066543s=1.38%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000917s ] [0.000917s/0.066543s=1.38%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000393s ] [0.000393s/0.066543s=0.59%]
- 14/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000113s ] [0.000113s/0.066543s=0.17%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000101s ] [0.000101s/0.066543s=0.15%]
- 16/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000097s ] [0.000097s/0.066543s=0.15%]
- 17/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ] [0.000086s/0.066543s=0.13%]
- 18/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000049s ] [0.000049s/0.066543s=0.07%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000042s ] [0.000042s/0.066543s=0.06%]
- 20/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000020s ] [0.000020s/0.066543s=0.03%]
- 21/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000013s ] [0.000013s/0.066543s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.001707s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.010919s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.011693s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.011671s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.012439s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.008289s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.006571s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001255s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.004883s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001197s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.005841s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.013505s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1732605941 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'ko1ro9rbnkh8seca2269rqrp0l' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.010612s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.009839s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001601s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001082s ]
- [ 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` = 'ko1ro9rbnkh8seca2269rqrp0l' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.005952s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001070s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001172s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.016383s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '24771dc685155f2cedd23ef597dfc5e7' LIMIT 1 [ RunTime:0.007538s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.003113s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '75cf4d58ca5bc198a36a6a1217602d39' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.004860s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001306s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001109s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001082s ]
- [ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.006190s ]
- [ 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 < 1732605941 and b.endtime > 1732605941 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(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.017028s ]
- [ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.050557s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.001665s ]
- [ 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 (6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.069511s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002346s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001085s ]
- [ 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 < 1732605941 and b.endtime > 1732605941 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(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.003370s ]
- [ 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 < 1732605941 and b.endtime > 1732605941 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(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.002578s ]
- [ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.025706s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.003334s ]
- [ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.024874s ]
- [ 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.006472s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1732605941 > starttime && 1732605941 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.004654s ]
- [ SQL ] SHOW COLUMNS FROM `product_supplier` [ RunTime:0.025027s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.002377s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001041s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001187s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.008488s ]
- [ 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.003840s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.005453s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.004926s ]
- [ 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.001167s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001258s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001154s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001224s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001173s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002040s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001221s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001283s ]
- [ SQL ] SHOW COLUMNS FROM `attachment` [ RunTime:0.031907s ]
- [ SQL ] SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304519596.jpg' LIMIT 1 [ RunTime:0.007034s ]
- [ 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.001363s ]
- [ SQL ] SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304516661.png' LIMIT 1 [ RunTime:0.001498s ]
- [ SQL ] SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304488171.jpg' LIMIT 1 [ RunTime:0.001407s ]
- [ SQL ] SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304485569.png' LIMIT 1 [ RunTime:0.001526s ]
- [ SQL ] SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304439994.jpg' LIMIT 1 [ RunTime:0.002452s ]
- [ SQL ] SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304434249.png' LIMIT 1 [ RunTime:0.002040s ]
- 1/64 . 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 (6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.069511s/0.488145s=14.24%]
- 2/64 . SHOW COLUMNS FROM `currency` [0.050557s/0.488145s=10.36%]
- 3/64 . SHOW COLUMNS FROM `attachment` [0.031907s/0.488145s=6.54%]
- 4/64 . SHOW COLUMNS FROM `discuss` [0.025706s/0.488145s=5.27%]
- 5/64 . SHOW COLUMNS FROM `product_supplier` [0.025027s/0.488145s=5.13%]
- 6/64 . SHOW COLUMNS FROM `product_sku_price` [0.024874s/0.488145s=5.10%]
- 7/64 . 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 < 1732605941 and b.endtime > 1732605941 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(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.017028s/0.488145s=3.49%]
- 8/64 . SHOW COLUMNS FROM `visit_user` [0.016383s/0.488145s=3.36%]
- 9/64 . SHOW COLUMNS FROM `product` [0.013505s/0.488145s=2.77%]
- 10/64 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.012439s/0.488145s=2.55%]
- 11/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.011693s/0.488145s=2.40%]
- 12/64 . SHOW COLUMNS FROM `payment` [0.011671s/0.488145s=2.39%]
- 13/64 . SHOW COLUMNS FROM `app_center` [0.010919s/0.488145s=2.24%]
- 14/64 . UPDATE `cart` SET `deletetime`=1732605941 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'ko1ro9rbnkh8seca2269rqrp0l' ) AND `cart`.`deletetime` IS NULL [0.010612s/0.488145s=2.17%]
- 15/64 . SHOW COLUMNS FROM `activity` [0.009839s/0.488145s=2.02%]
- 16/64 . SHOW COLUMNS FROM `themes_lang` [0.008488s/0.488145s=1.74%]
- 17/64 . SHOW COLUMNS FROM `config` [0.008289s/0.488145s=1.70%]
- 18/64 . SELECT * FROM `visit_user` WHERE `visit_code` = '24771dc685155f2cedd23ef597dfc5e7' LIMIT 1 [0.007538s/0.488145s=1.54%]
- 19/64 . SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304519596.jpg' LIMIT 1 [0.007034s/0.488145s=1.44%]
- 20/64 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.006571s/0.488145s=1.35%]
- 21/64 . 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.006472s/0.488145s=1.33%]
- 22/64 . SHOW COLUMNS FROM `activity_product_sku_price` [0.006190s/0.488145s=1.27%]
- 23/64 . 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` = 'ko1ro9rbnkh8seca2269rqrp0l' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.005952s/0.488145s=1.22%]
- 24/64 . SHOW COLUMNS FROM `cart` [0.005841s/0.488145s=1.20%]
- 25/64 . SHOW COLUMNS FROM `themes_menu_item` [0.005453s/0.488145s=1.12%]
- 26/64 . SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.004926s/0.488145s=1.01%]
- 27/64 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.004883s/0.488145s=1.00%]
- 28/64 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '75cf4d58ca5bc198a36a6a1217602d39' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.004860s/0.488145s=1.00%]
- 29/64 . SELECT * FROM `activity` WHERE ( ( 1732605941 > starttime && 1732605941 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.004654s/0.488145s=0.95%]
- 30/64 . 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.003840s/0.488145s=0.79%]
- 31/64 . 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 < 1732605941 and b.endtime > 1732605941 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(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.003370s/0.488145s=0.69%]
- 32/64 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.003334s/0.488145s=0.68%]
- 33/64 . SHOW COLUMNS FROM `visit_log` [0.003113s/0.488145s=0.64%]
- 34/64 . 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 < 1732605941 and b.endtime > 1732605941 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(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.002578s/0.488145s=0.53%]
- 35/64 . SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304439994.jpg' LIMIT 1 [0.002452s/0.488145s=0.50%]
- 36/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.002377s/0.488145s=0.49%]
- 37/64 . SELECT @@session.sql_mode [0.002346s/0.488145s=0.48%]
- 38/64 . SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304434249.png' LIMIT 1 [0.002040s/0.488145s=0.42%]
- 39/64 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.002040s/0.488145s=0.42%]
- 40/64 . CONNECT:[ UseTime:0.001707s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4 [0.001707s/0.488145s=0.35%]
- 41/64 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.001665s/0.488145s=0.34%]
- 42/64 . SELECT @@session.sql_mode [0.001601s/0.488145s=0.33%]
- 43/64 . SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304485569.png' LIMIT 1 [0.001526s/0.488145s=0.31%]
- 44/64 . SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304516661.png' LIMIT 1 [0.001498s/0.488145s=0.31%]
- 45/64 . SELECT * FROM `attachment` WHERE `url` = '/uploads/f67aa44bc64aaebe/1714304488171.jpg' LIMIT 1 [0.001407s/0.488145s=0.29%]
- 46/64 . 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.001363s/0.488145s=0.28%]
- 47/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001306s/0.488145s=0.27%]
- 48/64 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001283s/0.488145s=0.26%]
- 49/64 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001258s/0.488145s=0.26%]
- 50/64 . set time_zone = '+08:00' [0.001255s/0.488145s=0.26%]
- 51/64 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001224s/0.488145s=0.25%]
- 52/64 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001221s/0.488145s=0.25%]
- 53/64 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001197s/0.488145s=0.25%]
- 54/64 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001187s/0.488145s=0.24%]
- 55/64 . SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001173s/0.488145s=0.24%]
- 56/64 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001172s/0.488145s=0.24%]
- 57/64 . 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.001167s/0.488145s=0.24%]
- 58/64 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001154s/0.488145s=0.24%]
- 59/64 . SELECT @@session.sql_mode [0.001109s/0.488145s=0.23%]
- 60/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001085s/0.488145s=0.22%]
- 61/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001082s/0.488145s=0.22%]
- 62/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001082s/0.488145s=0.22%]
- 63/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001070s/0.488145s=0.22%]
- 64/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001041s/0.488145s=0.21%]
- 1/7. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.00536s/0.488145s=1.10%]
- 2/7. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.00637s/0.488145s=1.30%]
- 3/7. SELECT @@session.sql_mode [3 times, 0.005056s/0.488145s=1.04%]
- 4/7. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.002507s/0.488145s=0.51%]
- 5/7. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.002375s/0.488145s=0.49%]
- 6/7. SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.003298s/0.488145s=0.68%]
- 7/7. SELECT * FROM `themes_menu_item` WHERE ( ( menu_id = '2' and pid = 0 ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [2 times, 0.006099s/0.488145s=1.25%]
- generateVisitCode:24771dc685155f2cedd23ef597dfc5e7
- 发布普通任务:shoppaas_1714304268836:-addons-job-job-VisitUser@requestJob:6571