基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-04-02 16:18:41 HTTP/1.1 GET : democoffee.shoppaas.com/all?page=3
- 运行时间 : 0.185052s [ 吞吐率:5.40req/s ] 内存消耗:2,475.38kb 文件加载:257
- 查询信息 : [耗时:0.078474s/0.185052 42.41% ] 50 queries ,7 writes
- 缓存信息 : 15 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=4qgql64orha9k480cf73hcdis8
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000445s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000360s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000382s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000149s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'democoffee.shoppaas.com',
'x-forwarded-for' => '3.17.9.140',
'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' => 'democoffee.shoppaas.com',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '3',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002898s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000047s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1692268519851:',
'type' => 'redis',
'host' => '172.31.98.126',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.019475s ]
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/coffee/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.001371s ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000562s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001095s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001424s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000009s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001174s ]
- [ 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.000523s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000009s ]
- [ 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.000474s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000789s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000631s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000366s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001038s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001035s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000669s ]
- [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001472s ]
- 1/26 . [ BEHAVIOR ] Run addons\visituser\Hook @visit_record [ RunTime:0.019475s ] [0.019475s/0.036554s=53.28%]
- 2/26 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002898s ] [0.002898s/0.036554s=7.93%]
- 3/26 . [ BEHAVIOR ] Run addons\visituser\Hook @response_send [ RunTime:0.001472s ] [0.001472s/0.036554s=4.03%]
- 4/26 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001424s ] [0.001424s/0.036554s=3.90%]
- 5/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_header [ RunTime:0.001371s ] [0.001371s/0.036554s=3.75%]
- 6/26 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001174s ] [0.001174s/0.036554s=3.21%]
- 7/26 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001095s ] [0.001095s/0.036554s=3.00%]
- 8/26 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001038s ] [0.001038s/0.036554s=2.84%]
- 9/26 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001035s ] [0.001035s/0.036554s=2.83%]
- 10/26 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000789s ] [0.000789s/0.036554s=2.16%]
- 11/26 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000669s ] [0.000669s/0.036554s=1.83%]
- 12/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000631s ] [0.000631s/0.036554s=1.73%]
- 13/26 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000562s ] [0.000562s/0.036554s=1.54%]
- 14/26 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000523s ] [0.000523s/0.036554s=1.43%]
- 15/26 . [ BEHAVIOR ] Run addons\visituser\Hook @user_visit_record [ RunTime:0.000474s ] [0.000474s/0.036554s=1.30%]
- 16/26 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000445s ] [0.000445s/0.036554s=1.22%]
- 17/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000382s ] [0.000382s/0.036554s=1.05%]
- 18/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000366s ] [0.000366s/0.036554s=1.00%]
- 19/26 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000360s ] [0.000360s/0.036554s=0.98%]
- 20/26 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000149s ] [0.000149s/0.036554s=0.41%]
- 21/26 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ] [0.000093s/0.036554s=0.25%]
- 22/26 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000047s ] [0.000047s/0.036554s=0.13%]
- 23/26 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000047s ] [0.000047s/0.036554s=0.13%]
- 24/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ] [0.000017s/0.036554s=0.05%]
- 25/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000009s ] [0.000009s/0.036554s=0.02%]
- 26/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @global_content_top [ RunTime:0.000009s ] [0.000009s/0.036554s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.000548s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1692268519851;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.003292s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000545s ]
- [ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.003566s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000587s ]
- [ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.002696s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000413s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000285s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000307s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000820s ]
- [ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.002938s ]
- [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.002912s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1743581921 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '4qgql64orha9k480cf73hcdis8' AND `createtime` > 1743322721 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000916s ]
- [ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.001928s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000288s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000502s ]
- [ 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` = '4qgql64orha9k480cf73hcdis8' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.000999s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000340s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000649s ]
- [ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.002709s ]
- [ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '6e2e309139dea4cd6b8304c5cec4ec01' LIMIT 1 [ RunTime:0.002090s ]
- [ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.004221s ]
- [ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = 'b3e7f87d8c9d5115f94478cff56cf912' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002004s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000780s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000256s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000200s ]
- [ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.002074s ]
- [ 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 < 1743581921 and b.endtime > 1743581921 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.002106s ]
- [ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.003018s ]
- [ 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,34,33,32,31,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.003837s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000279s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000193s ]
- [ 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 < 1743581921 and b.endtime > 1743581921 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.002630s ]
- [ 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 < 1743581921 and b.endtime > 1743581921 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 30,15 [ RunTime:0.001120s ]
- [ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.003436s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000792s ]
- [ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.002946s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001270s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1743581921 > starttime && 1743581921 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000436s ]
- [ SQL ] SHOW COLUMNS FROM `product_supplier` [ RunTime:0.002120s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000813s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000370s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000705s ]
- [ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.002077s ]
- [ 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.000435s ]
- [ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.002091s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000492s ]
- [ 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.000472s ]
- [ 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.000587s ]
- [ SQL ] SHOW COLUMNS FROM `attachment` [ RunTime:0.002693s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/2006d6766b5ce3b20adb53300cec1e2e.jpg' LIMIT 1 [ RunTime:0.000456s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/041f046f144dcfbe2016b1efea55e928.jpg' LIMIT 1 [ RunTime:0.000756s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/bd98b12781d0300d7763b6db7367b5e7.jpg' LIMIT 1 [ RunTime:0.000458s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/07256bec181aacbe12ce53e34f4685b8.jpg' LIMIT 1 [ RunTime:0.000395s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/7f725fdb46f6ed7743cb80aa621195f6.jpg' LIMIT 1 [ RunTime:0.000432s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/5950f0894257844af71026c482471011.jpg' LIMIT 1 [ RunTime:0.000404s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/9fd884dc8e870889d23fc578d0412185.jpg' LIMIT 1 [ RunTime:0.000902s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/f621c7f97e02e2738759470e6c489578.jpg' LIMIT 1 [ RunTime:0.000888s ]
- 1/58 . SHOW COLUMNS FROM `visit_log` [0.004221s/0.078474s=5.38%]
- 2/58 . 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,34,33,32,31,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.003837s/0.078474s=4.89%]
- 3/58 . SHOW COLUMNS FROM `payment` [0.003566s/0.078474s=4.54%]
- 4/58 . SHOW COLUMNS FROM `discuss` [0.003436s/0.078474s=4.38%]
- 5/58 . SHOW COLUMNS FROM `app_center` [0.003292s/0.078474s=4.20%]
- 6/58 . SHOW COLUMNS FROM `currency` [0.003018s/0.078474s=3.85%]
- 7/58 . SHOW COLUMNS FROM `product_sku_price` [0.002946s/0.078474s=3.75%]
- 8/58 . SHOW COLUMNS FROM `cart` [0.002938s/0.078474s=3.74%]
- 9/58 . SHOW COLUMNS FROM `product` [0.002912s/0.078474s=3.71%]
- 10/58 . SHOW COLUMNS FROM `visit_user` [0.002709s/0.078474s=3.45%]
- 11/58 . SHOW COLUMNS FROM `config` [0.002696s/0.078474s=3.44%]
- 12/58 . SHOW COLUMNS FROM `attachment` [0.002693s/0.078474s=3.43%]
- 13/58 . 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 < 1743581921 and b.endtime > 1743581921 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.002630s/0.078474s=3.35%]
- 14/58 . SHOW COLUMNS FROM `product_supplier` [0.002120s/0.078474s=2.70%]
- 15/58 . 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 < 1743581921 and b.endtime > 1743581921 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.002106s/0.078474s=2.68%]
- 16/58 . SHOW COLUMNS FROM `themes_menu_item` [0.002091s/0.078474s=2.66%]
- 17/58 . SELECT * FROM `visit_user` WHERE `visit_code` = '6e2e309139dea4cd6b8304c5cec4ec01' LIMIT 1 [0.002090s/0.078474s=2.66%]
- 18/58 . SHOW COLUMNS FROM `themes_lang` [0.002077s/0.078474s=2.65%]
- 19/58 . SHOW COLUMNS FROM `activity_product_sku_price` [0.002074s/0.078474s=2.64%]
- 20/58 . SELECT * FROM `visit_log` WHERE ( `visit_session` = 'b3e7f87d8c9d5115f94478cff56cf912' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.002004s/0.078474s=2.55%]
- 21/58 . SHOW COLUMNS FROM `activity` [0.001928s/0.078474s=2.46%]
- 22/58 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001270s/0.078474s=1.62%]
- 23/58 . 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 < 1743581921 and b.endtime > 1743581921 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 30,15 [0.001120s/0.078474s=1.43%]
- 24/58 . 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` = '4qgql64orha9k480cf73hcdis8' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.000999s/0.078474s=1.27%]
- 25/58 . UPDATE `cart` SET `deletetime`=1743581921 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '4qgql64orha9k480cf73hcdis8' AND `createtime` > 1743322721 ) AND `cart`.`deletetime` IS NULL [0.000916s/0.078474s=1.17%]
- 26/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/9fd884dc8e870889d23fc578d0412185.jpg' LIMIT 1 [0.000902s/0.078474s=1.15%]
- 27/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/f621c7f97e02e2738759470e6c489578.jpg' LIMIT 1 [0.000888s/0.078474s=1.13%]
- 28/58 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000820s/0.078474s=1.04%]
- 29/58 . SELECT `name` FROM `product_supplier` WHERE `id` = 6 LIMIT 1 [0.000813s/0.078474s=1.04%]
- 30/58 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.000792s/0.078474s=1.01%]
- 31/58 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000780s/0.078474s=0.99%]
- 32/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/041f046f144dcfbe2016b1efea55e928.jpg' LIMIT 1 [0.000756s/0.078474s=0.96%]
- 33/58 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000705s/0.078474s=0.90%]
- 34/58 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000649s/0.078474s=0.83%]
- 35/58 . 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.000587s/0.078474s=0.75%]
- 36/58 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000587s/0.078474s=0.75%]
- 37/58 . CONNECT:[ UseTime:0.000548s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1692268519851;charset=utf8mb4 [0.000548s/0.078474s=0.70%]
- 38/58 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000545s/0.078474s=0.69%]
- 39/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000502s/0.078474s=0.64%]
- 40/58 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000492s/0.078474s=0.63%]
- 41/58 . 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.000472s/0.078474s=0.60%]
- 42/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/bd98b12781d0300d7763b6db7367b5e7.jpg' LIMIT 1 [0.000458s/0.078474s=0.58%]
- 43/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/2006d6766b5ce3b20adb53300cec1e2e.jpg' LIMIT 1 [0.000456s/0.078474s=0.58%]
- 44/58 . SELECT * FROM `activity` WHERE ( ( 1743581921 > starttime && 1743581921 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000436s/0.078474s=0.56%]
- 45/58 . 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.000435s/0.078474s=0.55%]
- 46/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/7f725fdb46f6ed7743cb80aa621195f6.jpg' LIMIT 1 [0.000432s/0.078474s=0.55%]
- 47/58 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000413s/0.078474s=0.53%]
- 48/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/5950f0894257844af71026c482471011.jpg' LIMIT 1 [0.000404s/0.078474s=0.51%]
- 49/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/086ece753e7e14b6/07256bec181aacbe12ce53e34f4685b8.jpg' LIMIT 1 [0.000395s/0.078474s=0.50%]
- 50/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000370s/0.078474s=0.47%]
- 51/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000340s/0.078474s=0.43%]
- 52/58 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000307s/0.078474s=0.39%]
- 53/58 . SELECT @@session.sql_mode [0.000288s/0.078474s=0.37%]
- 54/58 . set time_zone = '+08:00' [0.000285s/0.078474s=0.36%]
- 55/58 . SELECT @@session.sql_mode [0.000279s/0.078474s=0.36%]
- 56/58 . SELECT @@session.sql_mode [0.000256s/0.078474s=0.33%]
- 57/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000200s/0.078474s=0.25%]
- 58/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000193s/0.078474s=0.25%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.001605s/0.078474s=2.05%]
- 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 [3 times, 0.001494s/0.078474s=1.90%]
- 3/3. SELECT @@session.sql_mode [3 times, 0.000823s/0.078474s=1.05%]
- generateVisitCode:6e2e309139dea4cd6b8304c5cec4ec01
- 发布普通任务:shoppaas_1692268519851:-addons-job-job-VisitUser@requestJob:84531