基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-09 19:53:23 HTTP/1.1 GET : rcxq701.test3.shoppaas.co/category/%E5%98%BB%E5%98%BB.html
- 运行时间 : 0.587240s [ 吞吐率:1.70req/s ] 内存消耗:5,359.94kb 文件加载:286
- 查询信息 : [耗时:0.224574s/0.587240 38.24% ] 121 queries ,7 writes
- 缓存信息 : 79 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=4kq8ddc08rjdd76q0v8a415ad3
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000417s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'rcxq701.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.115',
'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' => 'rcxq701.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => '嘻嘻',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004721s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000105s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1689753494345:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ 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',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.007227s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001692s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001703s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001884s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001850s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001060s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002491s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000493s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000581s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000580s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000619s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000664s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000517s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000544s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.017587s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.017135s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001801s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001107s ]
- 1/27 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.017587s ] [0.017587s/0.065104s=27.01%]
- 2/27 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.017135s ] [0.017135s/0.065104s=26.32%]
- 3/27 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.007227s ] [0.007227s/0.065104s=11.10%]
- 4/27 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004721s ] [0.004721s/0.065104s=7.25%]
- 5/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002491s ] [0.002491s/0.065104s=3.83%]
- 6/27 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001884s ] [0.001884s/0.065104s=2.89%]
- 7/27 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001850s ] [0.001850s/0.065104s=2.84%]
- 8/27 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001801s ] [0.001801s/0.065104s=2.77%]
- 9/27 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001703s ] [0.001703s/0.065104s=2.62%]
- 10/27 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001692s ] [0.001692s/0.065104s=2.60%]
- 11/27 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001107s ] [0.001107s/0.065104s=1.70%]
- 12/27 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001060s ] [0.001060s/0.065104s=1.63%]
- 13/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000664s ] [0.000664s/0.065104s=1.02%]
- 14/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000619s ] [0.000619s/0.065104s=0.95%]
- 15/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000581s ] [0.000581s/0.065104s=0.89%]
- 16/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000580s ] [0.000580s/0.065104s=0.89%]
- 17/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000544s ] [0.000544s/0.065104s=0.84%]
- 18/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000517s ] [0.000517s/0.065104s=0.79%]
- 19/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000493s ] [0.000493s/0.065104s=0.76%]
- 20/27 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000417s ] [0.000417s/0.065104s=0.64%]
- 21/27 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000105s ] [0.000105s/0.065104s=0.16%]
- 22/27 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ] [0.000085s/0.065104s=0.13%]
- 23/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ] [0.000076s/0.065104s=0.12%]
- 24/27 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ] [0.000063s/0.065104s=0.10%]
- 25/27 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000048s ] [0.000048s/0.065104s=0.07%]
- 26/27 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ] [0.000038s/0.065104s=0.06%]
- 27/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ] [0.000016s/0.065104s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.005017s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1689753494345;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001066s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001192s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001013s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000971s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000905s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000981s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1762689203 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '4kq8ddc08rjdd76q0v8a415ad3' AND `createtime` > 1762430003 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001136s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000995s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000752s ]
- [ 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` = '4kq8ddc08rjdd76q0v8a415ad3' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001443s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000816s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000938s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001359s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000846s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000761s ]
- [ 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 < 1762689203 and b.endtime > 1762689203 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(7, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.010845s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.005233s ]
- [ 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 (75) group by binary(p.name), binary(p1.name); [ RunTime:0.015284s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000683s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000778s ]
- [ 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 < 1762689203 and b.endtime > 1762689203 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(7, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001649s ]
- [ 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 < 1762689203 and b.endtime > 1762689203 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(7, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.002867s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.006563s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.006513s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1762689203 > starttime && 1762689203 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000900s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [ RunTime:0.004308s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000775s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000861s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [ RunTime:0.001223s ]
- [ SQL ] select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 7
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.005517s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000896s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001052s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='ko' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.002793s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='ko' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.005570s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.005838s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='ko' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000982s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001084s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000842s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001070s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001105s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002023s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) LIMIT 0,15 [ RunTime:0.001874s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001411s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.003814s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.005915s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000920s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001004s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000934s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001066s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000834s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000892s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000793s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001272s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001302s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [ RunTime:0.001413s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001075s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001605s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001149s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000802s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000875s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000988s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001217s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001090s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [ RunTime:0.001452s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001200s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001742s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001393s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001285s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001033s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001008s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001055s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001128s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [ RunTime:0.001344s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001248s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001634s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001915s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001062s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001009s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000838s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001382s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001039s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [ RunTime:0.001350s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001231s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001560s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001078s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000864s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000771s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [ RunTime:0.001781s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001182s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) LIMIT 0,15 [ RunTime:0.001601s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001055s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001955s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002163s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001288s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001509s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001066s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000971s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001052s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000981s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000905s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [ RunTime:0.001054s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001038s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70) LIMIT 0,15 [ RunTime:0.000994s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000946s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001376s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000982s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000891s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000794s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001177s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001270s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) LIMIT 0,15 [ RunTime:0.001378s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001188s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001444s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001090s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000966s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000959s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000765s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001318s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000774s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001053s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000939s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1753977600 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.009304s ]
- 1/129 . 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 (75) group by binary(p.name), binary(p1.name); [0.015284s/0.224574s=6.81%]
- 2/129 . 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 < 1762689203 and b.endtime > 1762689203 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(7, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.010845s/0.224574s=4.83%]
- 3/129 . SELECT * FROM `order` WHERE ( `createtime` >= 1753977600 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.009304s/0.224574s=4.14%]
- 4/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75) ) AND `discuss`.`deletetime` IS NULL [0.006563s/0.224574s=2.92%]
- 5/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.006513s/0.224574s=2.90%]
- 6/129 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.005915s/0.224574s=2.63%]
- 7/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.005838s/0.224574s=2.60%]
- 8/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.005570s/0.224574s=2.48%]
- 9/129 . select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 7
and p.status = "up" and p.deletetime is null limit 40 [0.005517s/0.224574s=2.46%]
- 10/129 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.005233s/0.224574s=2.33%]
- 11/129 . CONNECT:[ UseTime:0.005017s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1689753494345;charset=utf8mb4 [0.005017s/0.224574s=2.23%]
- 12/129 . SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [0.004308s/0.224574s=1.92%]
- 13/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.003814s/0.224574s=1.70%]
- 14/129 . 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 < 1762689203 and b.endtime > 1762689203 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(7, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.002867s/0.224574s=1.28%]
- 15/129 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='ko' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.002793s/0.224574s=1.24%]
- 16/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002163s/0.224574s=0.96%]
- 17/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.002023s/0.224574s=0.90%]
- 18/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001955s/0.224574s=0.87%]
- 19/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001915s/0.224574s=0.85%]
- 20/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) LIMIT 0,15 [0.001874s/0.224574s=0.83%]
- 21/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [0.001781s/0.224574s=0.79%]
- 22/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001742s/0.224574s=0.78%]
- 23/129 . 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 < 1762689203 and b.endtime > 1762689203 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(7, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001649s/0.224574s=0.73%]
- 24/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001634s/0.224574s=0.73%]
- 25/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001605s/0.224574s=0.71%]
- 26/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) LIMIT 0,15 [0.001601s/0.224574s=0.71%]
- 27/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001560s/0.224574s=0.69%]
- 28/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001509s/0.224574s=0.67%]
- 29/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [0.001452s/0.224574s=0.65%]
- 30/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001444s/0.224574s=0.64%]
- 31/129 . 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` = '4kq8ddc08rjdd76q0v8a415ad3' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001443s/0.224574s=0.64%]
- 32/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [0.001413s/0.224574s=0.63%]
- 33/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `discuss`.`deletetime` IS NULL [0.001411s/0.224574s=0.63%]
- 34/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001393s/0.224574s=0.62%]
- 35/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001382s/0.224574s=0.62%]
- 36/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) LIMIT 0,15 [0.001378s/0.224574s=0.61%]
- 37/129 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001376s/0.224574s=0.61%]
- 38/129 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001359s/0.224574s=0.61%]
- 39/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [0.001350s/0.224574s=0.60%]
- 40/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [0.001344s/0.224574s=0.60%]
- 41/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001318s/0.224574s=0.59%]
- 42/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001302s/0.224574s=0.58%]
- 43/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001288s/0.224574s=0.57%]
- 44/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001285s/0.224574s=0.57%]
- 45/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001272s/0.224574s=0.57%]
- 46/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001270s/0.224574s=0.57%]
- 47/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001248s/0.224574s=0.56%]
- 48/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001231s/0.224574s=0.55%]
- 49/129 . SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [0.001223s/0.224574s=0.54%]
- 50/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001217s/0.224574s=0.54%]
- 51/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001200s/0.224574s=0.53%]
- 52/129 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001192s/0.224574s=0.53%]
- 53/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `discuss`.`deletetime` IS NULL [0.001188s/0.224574s=0.53%]
- 54/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001182s/0.224574s=0.53%]
- 55/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001177s/0.224574s=0.52%]
- 56/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001149s/0.224574s=0.51%]
- 57/129 . UPDATE `cart` SET `deletetime`=1762689203 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '4kq8ddc08rjdd76q0v8a415ad3' AND `createtime` > 1762430003 ) AND `cart`.`deletetime` IS NULL [0.001136s/0.224574s=0.51%]
- 58/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001128s/0.224574s=0.50%]
- 59/129 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='ko' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001116s/0.224574s=0.50%]
- 60/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001105s/0.224574s=0.49%]
- 61/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001090s/0.224574s=0.49%]
- 62/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001090s/0.224574s=0.49%]
- 63/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001084s/0.224574s=0.48%]
- 64/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001078s/0.224574s=0.48%]
- 65/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001075s/0.224574s=0.48%]
- 66/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001075s/0.224574s=0.48%]
- 67/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001074s/0.224574s=0.48%]
- 68/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001070s/0.224574s=0.48%]
- 69/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001066s/0.224574s=0.47%]
- 70/129 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001066s/0.224574s=0.47%]
- 71/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001066s/0.224574s=0.47%]
- 72/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001062s/0.224574s=0.47%]
- 73/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `discuss`.`deletetime` IS NULL [0.001055s/0.224574s=0.47%]
- 74/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001055s/0.224574s=0.47%]
- 75/129 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [0.001054s/0.224574s=0.47%]
- 76/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001053s/0.224574s=0.47%]
- 77/129 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001052s/0.224574s=0.47%]
- 78/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001052s/0.224574s=0.47%]
- 79/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001039s/0.224574s=0.46%]
- 80/129 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001038s/0.224574s=0.46%]
- 81/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001033s/0.224574s=0.46%]
- 82/129 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001013s/0.224574s=0.45%]
- 83/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001009s/0.224574s=0.45%]
- 84/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001008s/0.224574s=0.45%]
- 85/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001004s/0.224574s=0.45%]
- 86/129 . SELECT @@session.sql_mode [0.000995s/0.224574s=0.44%]
- 87/129 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70) LIMIT 0,15 [0.000994s/0.224574s=0.44%]
- 88/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000988s/0.224574s=0.44%]
- 89/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000982s/0.224574s=0.44%]
- 90/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000982s/0.224574s=0.44%]
- 91/129 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000981s/0.224574s=0.44%]
- 92/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000981s/0.224574s=0.44%]
- 93/129 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='ko' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000973s/0.224574s=0.43%]
- 94/129 . set time_zone = '+08:00' [0.000971s/0.224574s=0.43%]
- 95/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000971s/0.224574s=0.43%]
- 96/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000966s/0.224574s=0.43%]
- 97/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000959s/0.224574s=0.43%]
- 98/129 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [0.000946s/0.224574s=0.42%]
- 99/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000939s/0.224574s=0.42%]
- 100/129 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000938s/0.224574s=0.42%]
- 101/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000934s/0.224574s=0.42%]
- 102/129 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000922s/0.224574s=0.41%]
- 103/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000920s/0.224574s=0.41%]
- 104/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000905s/0.224574s=0.40%]
- 105/129 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000905s/0.224574s=0.40%]
- 106/129 . SELECT * FROM `activity` WHERE ( ( 1762689203 > starttime && 1762689203 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000900s/0.224574s=0.40%]
- 107/129 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000896s/0.224574s=0.40%]
- 108/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000894s/0.224574s=0.40%]
- 109/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000892s/0.224574s=0.40%]
- 110/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000891s/0.224574s=0.40%]
- 111/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000875s/0.224574s=0.39%]
- 112/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000864s/0.224574s=0.38%]
- 113/129 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000861s/0.224574s=0.38%]
- 114/129 . SELECT @@session.sql_mode [0.000846s/0.224574s=0.38%]
- 115/129 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000842s/0.224574s=0.37%]
- 116/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000838s/0.224574s=0.37%]
- 117/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000834s/0.224574s=0.37%]
- 118/129 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000816s/0.224574s=0.36%]
- 119/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000802s/0.224574s=0.36%]
- 120/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000794s/0.224574s=0.35%]
- 121/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000793s/0.224574s=0.35%]
- 122/129 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000778s/0.224574s=0.35%]
- 123/129 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000775s/0.224574s=0.35%]
- 124/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000774s/0.224574s=0.34%]
- 125/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000771s/0.224574s=0.34%]
- 126/129 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000765s/0.224574s=0.34%]
- 127/129 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000761s/0.224574s=0.34%]
- 128/129 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000752s/0.224574s=0.33%]
- 129/129 . SELECT @@session.sql_mode [0.000683s/0.224574s=0.30%]
- 1/17. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [19 times, 0.023451s/0.224574s=10.44%]
- 2/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [19 times, 0.026379s/0.224574s=11.75%]
- 3/17. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [6 times, 0.005297s/0.224574s=2.36%]
- 4/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [6 times, 0.006281s/0.224574s=2.80%]
- 5/17. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003882s/0.224574s=1.73%]
- 6/17. SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL LIMIT 1 [4 times, 0.004559s/0.224574s=2.03%]
- 7/17. SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [4 times, 0.004926s/0.224574s=2.19%]
- 8/17. SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [4 times, 0.004754s/0.224574s=2.12%]
- 9/17. SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [4 times, 0.005559s/0.224574s=2.48%]
- 10/17. SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,16,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [4 times, 0.006541s/0.224574s=2.91%]
- 11/17. SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [3 times, 0.007213s/0.224574s=3.21%]
- 12/17. SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) LIMIT 0,15 [3 times, 0.004853s/0.224574s=2.16%]
- 13/17. SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18,19,20,21,22,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [3 times, 0.004475s/0.224574s=1.99%]
- 14/17. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='ko' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.004882s/0.224574s=2.17%]
- 15/17. SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,64,65,66,67,68,74,24,23,15,16,17,18) ) AND `discuss`.`deletetime` IS NULL [3 times, 0.003654s/0.224574s=1.63%]
- 16/17. SELECT @@session.sql_mode [3 times, 0.002524s/0.224574s=1.12%]
- 17/17. SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [2 times, 0.002282s/0.224574s=1.02%]