基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2024-11-26 17:20:57 HTTP/1.1 GET : saasa.cn/category/default.html
- 运行时间 : 0.978392s [ 吞吐率:1.02req/s ] 内存消耗:1,998.06kb 文件加载:246
- 查询信息 : [耗时:0.346839s/0.978392 35.45% ] 39 queries ,7 writes
- 缓存信息 : 9 reads,3 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=sdo4n3bmp7o986q135v310ijnt
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002595s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000380s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000083s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000643s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000102s ]
- [ 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.17.76.174',
'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' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006683s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000051s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ]
- [ 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.115770s ]
- [ 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.009680s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.003940s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000018s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.009992s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.004750s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.003157s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004265s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.006551s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002978s ]
- [ 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.001721s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.004516s ]
- 1/21 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.115770s ] [0.115770s/0.178013s=65.03%]
- 2/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.009992s ] [0.009992s/0.178013s=5.61%]
- 3/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.009680s ] [0.009680s/0.178013s=5.44%]
- 4/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006683s ] [0.006683s/0.178013s=3.75%]
- 5/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.006551s ] [0.006551s/0.178013s=3.68%]
- 6/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @global_footer [ RunTime:0.004750s ] [0.004750s/0.178013s=2.67%]
- 7/21 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.004516s ] [0.004516s/0.178013s=2.54%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004265s ] [0.004265s/0.178013s=2.40%]
- 9/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @tiktok_pixel [ RunTime:0.003940s ] [0.003940s/0.178013s=2.21%]
- 10/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @global_footer [ RunTime:0.003157s ] [0.003157s/0.178013s=1.77%]
- 11/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002978s ] [0.002978s/0.178013s=1.67%]
- 12/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002595s ] [0.002595s/0.178013s=1.46%]
- 13/21 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.001721s ] [0.001721s/0.178013s=0.97%]
- 14/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000643s ] [0.000643s/0.178013s=0.36%]
- 15/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000380s ] [0.000380s/0.178013s=0.21%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000102s ] [0.000102s/0.178013s=0.06%]
- 17/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ] [0.000094s/0.178013s=0.05%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000083s ] [0.000083s/0.178013s=0.05%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000051s ] [0.000051s/0.178013s=0.03%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ] [0.000044s/0.178013s=0.02%]
- 21/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000018s ] [0.000018s/0.178013s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.006978s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.009855s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.006542s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.032164s ]
- [ 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.015354s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.031815s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003286s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.005285s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.004135s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001205s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.002622s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001201s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.014949s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.027964s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1732612858 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'sdo4n3bmp7o986q135v310ijnt' ) AND `cart`.`deletetime` IS NULL [ RunTime:0.004049s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.015557s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001819s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001125s ]
- [ 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` = 'sdo4n3bmp7o986q135v310ijnt' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.010772s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001209s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001388s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.022723s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = 'fedd14380d54a912676c8d2576aaebbe' LIMIT 1 [ RunTime:0.011720s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.017099s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '6ba7c1f07057d093b887829c8828d736' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.015108s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001666s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001299s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001162s ]
- [ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.012285s ]
- [ 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 < 1732612858 and b.endtime > 1732612858 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.024412s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001238s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001138s ]
- [ 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 < 1732612858 and b.endtime > 1732612858 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001694s ]
- [ 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 < 1732612858 and b.endtime > 1732612858 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.002351s ]
- [ 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 `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001300s ]
- [ 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.001278s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.012604s ]
- [ 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.001569s ]
- [ 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.001337s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001281s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001309s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001251s ]
- [ 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.001307s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003446s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002514s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003383s ]
- 1/47 . SHOW COLUMNS FROM `themes_lang` [0.032164s/0.346839s=9.27%]
- 2/47 . SHOW COLUMNS FROM `payment` [0.031815s/0.346839s=9.17%]
- 3/47 . SHOW COLUMNS FROM `product` [0.027964s/0.346839s=8.06%]
- 4/47 . 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 < 1732612858 and b.endtime > 1732612858 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.024412s/0.346839s=7.04%]
- 5/47 . SHOW COLUMNS FROM `visit_user` [0.022723s/0.346839s=6.55%]
- 6/47 . SHOW COLUMNS FROM `visit_log` [0.017099s/0.346839s=4.93%]
- 7/47 . SHOW COLUMNS FROM `activity` [0.015557s/0.346839s=4.49%]
- 8/47 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.015354s/0.346839s=4.43%]
- 9/47 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '6ba7c1f07057d093b887829c8828d736' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.015108s/0.346839s=4.36%]
- 10/47 . SHOW COLUMNS FROM `cart` [0.014949s/0.346839s=4.31%]
- 11/47 . SHOW COLUMNS FROM `themes_menu_item` [0.012604s/0.346839s=3.63%]
- 12/47 . SHOW COLUMNS FROM `activity_product_sku_price` [0.012285s/0.346839s=3.54%]
- 13/47 . SELECT * FROM `visit_user` WHERE `visit_code` = 'fedd14380d54a912676c8d2576aaebbe' LIMIT 1 [0.011720s/0.346839s=3.38%]
- 14/47 . 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` = 'sdo4n3bmp7o986q135v310ijnt' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.010772s/0.346839s=3.11%]
- 15/47 . SHOW COLUMNS FROM `app_center` [0.009855s/0.346839s=2.84%]
- 16/47 . CONNECT:[ UseTime:0.006978s ] mysql:host=172.31.96.64;port=3306;dbname=shoppaas_1714304268836;charset=utf8mb4 [0.006978s/0.346839s=2.01%]
- 17/47 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.006542s/0.346839s=1.89%]
- 18/47 . SHOW COLUMNS FROM `config` [0.005285s/0.346839s=1.52%]
- 19/47 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.004135s/0.346839s=1.19%]
- 20/47 . UPDATE `cart` SET `deletetime`=1732612858 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'sdo4n3bmp7o986q135v310ijnt' ) AND `cart`.`deletetime` IS NULL [0.004049s/0.346839s=1.17%]
- 21/47 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.003446s/0.346839s=0.99%]
- 22/47 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.003383s/0.346839s=0.98%]
- 23/47 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.003286s/0.346839s=0.95%]
- 24/47 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.002622s/0.346839s=0.76%]
- 25/47 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.002514s/0.346839s=0.72%]
- 26/47 . 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 < 1732612858 and b.endtime > 1732612858 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.002351s/0.346839s=0.68%]
- 27/47 . SELECT @@session.sql_mode [0.001819s/0.346839s=0.52%]
- 28/47 . 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 < 1732612858 and b.endtime > 1732612858 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001694s/0.346839s=0.49%]
- 29/47 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001666s/0.346839s=0.48%]
- 30/47 . 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.001569s/0.346839s=0.45%]
- 31/47 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001388s/0.346839s=0.40%]
- 32/47 . 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.001337s/0.346839s=0.39%]
- 33/47 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '10' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001309s/0.346839s=0.38%]
- 34/47 . 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.001307s/0.346839s=0.38%]
- 35/47 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001300s/0.346839s=0.37%]
- 36/47 . SELECT @@session.sql_mode [0.001299s/0.346839s=0.37%]
- 37/47 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '9' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001281s/0.346839s=0.37%]
- 38/47 . 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.001278s/0.346839s=0.37%]
- 39/47 . SELECT * FROM `themes_menu_item` WHERE ( ( pid = '11' ) ) AND `themes_menu_item`.`deletetime` IS NULL ORDER BY `weigh` DESC,`id` ASC [0.001251s/0.346839s=0.36%]
- 40/47 . SELECT @@session.sql_mode [0.001238s/0.346839s=0.36%]
- 41/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001209s/0.346839s=0.35%]
- 42/47 . set time_zone = '+08:00' [0.001205s/0.346839s=0.35%]
- 43/47 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001201s/0.346839s=0.35%]
- 44/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001162s/0.346839s=0.34%]
- 45/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001138s/0.346839s=0.33%]
- 46/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001125s/0.346839s=0.32%]
- 47/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001091s/0.346839s=0.31%]
- 1/7. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.005725s/0.346839s=1.65%]
- 2/7. SELECT @@session.sql_mode [3 times, 0.004356s/0.346839s=1.26%]
- 3/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.004634s/0.346839s=1.34%]
- 4/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.003823s/0.346839s=1.10%]
- 5/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.004727s/0.346839s=1.36%]
- 6/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.002876s/0.346839s=0.83%]
- 7/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 [2 times, 0.002615s/0.346839s=0.75%]
- generateVisitCode:fedd14380d54a912676c8d2576aaebbe
- 发布普通任务:shoppaas_1714304268836:-addons-job-job-VisitUser@requestJob:6581