基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2024-11-26 17:21:59 HTTP/1.1 GET : saasa.cn/category/Fun.html
- 运行时间 : 0.391004s [ 吞吐率:2.56req/s ] 内存消耗:2,649.77kb 文件加载:252
- 查询信息 : [耗时:0.137474s/0.391004 35.16% ] 46 queries ,7 writes
- 缓存信息 : 23 reads,3 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=u2vcnstvirqen1nkg5q4n242ir
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004036s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000966s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000086s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000671s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ]
- [ 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' => '3.145.57.41',
'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' => 'Fun',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.014140s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000056s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000061s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000106s ]
- [ 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.024424s ]
- [ 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.000452s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.005347s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000089s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000907s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.001373s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001205s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001422s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001344s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000873s ]
- [ 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.000468s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002133s ]
- 1/21 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.024424s ] [0.024424s/0.060255s=40.53%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.014140s ] [0.014140s/0.060255s=23.47%]
- 3/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.005347s ] [0.005347s/0.060255s=8.87%]
- 4/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.004036s ] [0.004036s/0.060255s=6.70%]
- 5/21 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.002133s ] [0.002133s/0.060255s=3.54%]
- 6/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001422s ] [0.001422s/0.060255s=2.36%]
- 7/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.001373s ] [0.001373s/0.060255s=2.28%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001344s ] [0.001344s/0.060255s=2.23%]
- 9/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.001205s ] [0.001205s/0.060255s=2.00%]
- 10/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000966s ] [0.000966s/0.060255s=1.60%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000907s ] [0.000907s/0.060255s=1.51%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000873s ] [0.000873s/0.060255s=1.45%]
- 13/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000671s ] [0.000671s/0.060255s=1.11%]
- 14/21 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000468s ] [0.000468s/0.060255s=0.78%]
- 15/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.000452s ] [0.000452s/0.060255s=0.75%]
- 16/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000106s ] [0.000106s/0.060255s=0.18%]
- 17/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ] [0.000096s/0.060255s=0.16%]
- 18/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000089s ] [0.000089s/0.060255s=0.15%]
- 19/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000086s ] [0.000086s/0.060255s=0.14%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000061s ] [0.000061s/0.060255s=0.10%]
- 21/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000056s ] [0.000056s/0.060255s=0.09%]
- [ DB ] CONNECT:[ UseTime:0.002292s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.003886s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001359s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.001688s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001446s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.002161s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001483s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001117s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001131s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001110s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.001631s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.006856s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1732612919 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'u2vcnstvirqen1nkg5q4n242ir' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.002009s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.001547s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001050s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001091s ]
- [ 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` = 'u2vcnstvirqen1nkg5q4n242ir' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.001678s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001056s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001042s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.001777s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '1ee1df77d5fb95fb6d579d0a2c084838' LIMIT 1 [ RunTime:0.004121s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.001697s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '25dd3a0a38a1c438662a09f962c94d9b' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.005748s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001186s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001100s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001085s ]
- [ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.002019s ]
- [ 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 < 1732612919 and b.endtime > 1732612919 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.006745s ]
- [ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.002208s ]
- [ 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.019708s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001039s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001444s ]
- [ 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 < 1732612919 and b.endtime > 1732612919 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001476s ]
- [ 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 < 1732612919 and b.endtime > 1732612919 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.002030s ]
- [ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.002672s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001786s ]
- [ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.003598s ]
- [ 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.003269s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1732612919 > starttime && 1732612919 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.004156s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001113s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001146s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.001731s ]
- [ 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.001298s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.001889s ]
- [ 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.001515s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001390s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.006635s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001561s ]
- [ 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.001488s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002407s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001308s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001561s ]
- [ 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.001473s ]
- [ 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.006462s ]
- 1/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 (6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.019708s/0.137474s=14.34%]
- 2/54 . SHOW COLUMNS FROM `product` [0.006856s/0.137474s=4.99%]
- 3/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 < 1732612919 and b.endtime > 1732612919 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.006745s/0.137474s=4.91%]
- 4/54 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.006635s/0.137474s=4.83%]
- 5/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.006462s/0.137474s=4.70%]
- 6/54 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '25dd3a0a38a1c438662a09f962c94d9b' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.005748s/0.137474s=4.18%]
- 7/54 . SELECT * FROM `activity` WHERE ( ( 1732612919 > starttime && 1732612919 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.004156s/0.137474s=3.02%]
- 8/54 . SELECT * FROM `visit_user` WHERE `visit_code` = '1ee1df77d5fb95fb6d579d0a2c084838' LIMIT 1 [0.004121s/0.137474s=3.00%]
- 9/54 . SHOW COLUMNS FROM `app_center` [0.003886s/0.137474s=2.83%]
- 10/54 . SHOW COLUMNS FROM `product_sku_price` [0.003598s/0.137474s=2.62%]
- 11/54 . 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.003269s/0.137474s=2.38%]
- 12/54 . SHOW COLUMNS FROM `discuss` [0.002672s/0.137474s=1.94%]
- 13/54 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.002407s/0.137474s=1.75%]
- 14/54 . CONNECT:[ UseTime:0.002292s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4 [0.002292s/0.137474s=1.67%]
- 15/54 . SHOW COLUMNS FROM `currency` [0.002208s/0.137474s=1.61%]
- 16/54 . SHOW COLUMNS FROM `config` [0.002161s/0.137474s=1.57%]
- 17/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 < 1732612919 and b.endtime > 1732612919 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.002030s/0.137474s=1.48%]
- 18/54 . SHOW COLUMNS FROM `activity_product_sku_price` [0.002019s/0.137474s=1.47%]
- 19/54 . UPDATE `cart` SET `deletetime`=1732612919 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'u2vcnstvirqen1nkg5q4n242ir' ) AND `cart`.`deletetime` IS NULL [0.002009s/0.137474s=1.46%]
- 20/54 . SHOW COLUMNS FROM `themes_lang` [0.001889s/0.137474s=1.37%]
- 21/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.001786s/0.137474s=1.30%]
- 22/54 . SHOW COLUMNS FROM `visit_user` [0.001777s/0.137474s=1.29%]
- 23/54 . SHOW COLUMNS FROM `themes_menu_item` [0.001731s/0.137474s=1.26%]
- 24/54 . SHOW COLUMNS FROM `visit_log` [0.001697s/0.137474s=1.23%]
- 25/54 . SHOW COLUMNS FROM `payment` [0.001688s/0.137474s=1.23%]
- 26/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` = 'u2vcnstvirqen1nkg5q4n242ir' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.001678s/0.137474s=1.22%]
- 27/54 . SHOW COLUMNS FROM `cart` [0.001631s/0.137474s=1.19%]
- 28/54 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001561s/0.137474s=1.14%]
- 29/54 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001561s/0.137474s=1.14%]
- 30/54 . SHOW COLUMNS FROM `activity` [0.001547s/0.137474s=1.13%]
- 31/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.001515s/0.137474s=1.10%]
- 32/54 . 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.001488s/0.137474s=1.08%]
- 33/54 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001483s/0.137474s=1.08%]
- 34/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 < 1732612919 and b.endtime > 1732612919 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001476s/0.137474s=1.07%]
- 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.001473s/0.137474s=1.07%]
- 36/54 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001446s/0.137474s=1.05%]
- 37/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001444s/0.137474s=1.05%]
- 38/54 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001390s/0.137474s=1.01%]
- 39/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001359s/0.137474s=0.99%]
- 40/54 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001308s/0.137474s=0.95%]
- 41/54 . 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.001298s/0.137474s=0.94%]
- 42/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001186s/0.137474s=0.86%]
- 43/54 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001146s/0.137474s=0.83%]
- 44/54 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001131s/0.137474s=0.82%]
- 45/54 . set time_zone = '+08:00' [0.001117s/0.137474s=0.81%]
- 46/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001113s/0.137474s=0.81%]
- 47/54 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001110s/0.137474s=0.81%]
- 48/54 . SELECT @@session.sql_mode [0.001100s/0.137474s=0.80%]
- 49/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001091s/0.137474s=0.79%]
- 50/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001085s/0.137474s=0.79%]
- 51/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001056s/0.137474s=0.77%]
- 52/54 . SELECT @@session.sql_mode [0.001050s/0.137474s=0.76%]
- 53/54 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001042s/0.137474s=0.76%]
- 54/54 . SELECT @@session.sql_mode [0.001039s/0.137474s=0.76%]
- 1/7. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.005789s/0.137474s=4.21%]
- 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.00945s/0.137474s=6.87%]
- 3/7. SELECT @@session.sql_mode [3 times, 0.003189s/0.137474s=2.32%]
- 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.003122s/0.137474s=2.27%]
- 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.007943s/0.137474s=5.78%]
- 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.003797s/0.137474s=2.76%]
- 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.002786s/0.137474s=2.03%]
- generateVisitCode:1ee1df77d5fb95fb6d579d0a2c084838
- 发布普通任务:shoppaas_1714304268836:-addons-job-job-VisitUser@requestJob:6585