基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-08 16:17:15 HTTP/1.1 GET : rcxq701.test3.shoppaas.co/category/default
- 运行时间 : 0.453332s [ 吞吐率:2.21req/s ] 内存消耗:3,850.52kb 文件加载:279
- 查询信息 : [耗时:0.16555s/0.453332 36.52% ] 119 queries ,7 writes
- 缓存信息 : 86 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=qr84ircchj1rh5bhen7s76hcmb
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000274s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ]
- [ 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',
'referer' => 'http://rcxq701.test3.shoppaas.co/category/default',
'cookie' => 'currency_code=USD; PHPSESSID=qr84ircchj1rh5bhen7s76hcmb; currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1714944021%2C%22is_default%22%3A1%2C%22sort%22%3A199%7D',
'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' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004677s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000063s ]
- [ 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.002868s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001803s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001789s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001867s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001788s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001272s ]
- [ 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.002332s ]
- [ 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.000541s ]
- [ 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.000773s ]
- [ 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.000817s ]
- [ 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.000654s ]
- [ 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.000742s ]
- [ 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.000464s ]
- [ 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.000498s ]
- [ 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.000488s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.016329s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004258s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001794s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000919s ]
- 1/28 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.016329s ] [0.016329s/0.047258s=34.55%]
- 2/28 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004677s ] [0.004677s/0.047258s=9.90%]
- 3/28 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004258s ] [0.004258s/0.047258s=9.01%]
- 4/28 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002868s ] [0.002868s/0.047258s=6.07%]
- 5/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002332s ] [0.002332s/0.047258s=4.93%]
- 6/28 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001867s ] [0.001867s/0.047258s=3.95%]
- 7/28 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001803s ] [0.001803s/0.047258s=3.82%]
- 8/28 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001794s ] [0.001794s/0.047258s=3.80%]
- 9/28 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001789s ] [0.001789s/0.047258s=3.79%]
- 10/28 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001788s ] [0.001788s/0.047258s=3.78%]
- 11/28 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001272s ] [0.001272s/0.047258s=2.69%]
- 12/28 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000919s ] [0.000919s/0.047258s=1.94%]
- 13/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000817s ] [0.000817s/0.047258s=1.73%]
- 14/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000773s ] [0.000773s/0.047258s=1.64%]
- 15/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000742s ] [0.000742s/0.047258s=1.57%]
- 16/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000654s ] [0.000654s/0.047258s=1.38%]
- 17/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000541s ] [0.000541s/0.047258s=1.14%]
- 18/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000498s ] [0.000498s/0.047258s=1.05%]
- 19/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000488s ] [0.000488s/0.047258s=1.03%]
- 20/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000464s ] [0.000464s/0.047258s=0.98%]
- 21/28 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000274s ] [0.000274s/0.047258s=0.58%]
- 22/28 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000065s ] [0.000065s/0.047258s=0.14%]
- 23/28 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000063s ] [0.000063s/0.047258s=0.13%]
- 24/28 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.047258s=0.12%]
- 25/28 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000054s ] [0.000054s/0.047258s=0.11%]
- 26/28 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ] [0.000033s/0.047258s=0.07%]
- 27/28 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.047258s=0.06%]
- 28/28 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.047258s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.001971s ] 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.001112s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001228s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001127s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001058s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000924s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000919s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000957s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1762589835 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'qr84ircchj1rh5bhen7s76hcmb' AND `createtime` > 1762330635 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001379s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000863s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000948s ]
- [ 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` = 'qr84ircchj1rh5bhen7s76hcmb' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001719s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001062s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000816s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001031s ]
- [ 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 < 1762589835 and b.endtime > 1762589835 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.001717s ]
- [ 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 (74,70,69,68,67,66,65,64) group by binary(p.name), binary(p1.name); [ RunTime:0.002146s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000728s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000896s ]
- [ 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 < 1762589835 and b.endtime > 1762589835 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.001359s ]
- [ 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 < 1762589835 and b.endtime > 1762589835 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.001671s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (74,70,69,68,67,66,65,64) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001179s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (74,70,69,68,67,66,65,64) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001609s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1762589835 > starttime && 1762589835 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001250s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000895s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001022s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.001002s ]
- [ 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001430s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001098s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001026s ]
- [ 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.001191s ]
- [ 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.000960s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001265s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001059s ]
- [ 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.000851s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001119s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000815s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000843s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000779s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001195s ]
- [ 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.001143s ]
- [ 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.002060s ]
- [ 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.001063s ]
- [ 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.001788s ]
- [ 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.001347s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000960s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000818s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001123s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001943s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001120s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000904s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000956s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.004449s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001192s ]
- [ 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.001099s ]
- [ 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.001379s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001475s ]
- [ 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.001814s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001127s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.002938s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001013s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001172s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.003188s ]
- [ 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.001322s ]
- [ 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.001686s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.003089s ]
- [ 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.002037s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001801s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001171s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000914s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000859s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001041s ]
- [ 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.002496s ]
- [ 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.001700s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001093s ]
- [ 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.001902s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.005012s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000905s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001244s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000997s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001594s ]
- [ 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.001008s ]
- [ 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.001554s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001092s ]
- [ 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.001458s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001261s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000960s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000947s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000984s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [ RunTime:0.001251s ]
- [ 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.001167s ]
- [ 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.001342s ]
- [ 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.000988s ]
- [ 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.001434s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001076s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000872s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001065s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000769s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000982s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000805s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001088s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001041s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [ RunTime:0.001307s ]
- [ 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.000932s ]
- [ 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.001166s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001012s ]
- [ 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.001776s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001110s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000983s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000867s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.002482s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001053s ]
- [ 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.001088s ]
- [ 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.001617s ]
- [ 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.001150s ]
- [ 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.001668s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001226s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000871s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000852s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000748s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001220s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000887s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000843s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000829s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001509s ]
- 1/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.005012s/0.16555s=3.03%]
- 2/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.004449s/0.16555s=2.69%]
- 3/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.003188s/0.16555s=1.93%]
- 4/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.003089s/0.16555s=1.87%]
- 5/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.002938s/0.16555s=1.77%]
- 6/127 . 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.002496s/0.16555s=1.51%]
- 7/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.002482s/0.16555s=1.50%]
- 8/127 . 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 (74,70,69,68,67,66,65,64) group by binary(p.name), binary(p1.name); [0.002146s/0.16555s=1.30%]
- 9/127 . 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.002060s/0.16555s=1.24%]
- 10/127 . 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.002037s/0.16555s=1.23%]
- 11/127 . CONNECT:[ UseTime:0.001971s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1689753494345;charset=utf8mb4 [0.001971s/0.16555s=1.19%]
- 12/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001943s/0.16555s=1.17%]
- 13/127 . 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.001902s/0.16555s=1.15%]
- 14/127 . 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.001814s/0.16555s=1.10%]
- 15/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001801s/0.16555s=1.09%]
- 16/127 . 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.001788s/0.16555s=1.08%]
- 17/127 . 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.001776s/0.16555s=1.07%]
- 18/127 . 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` = 'qr84ircchj1rh5bhen7s76hcmb' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001719s/0.16555s=1.04%]
- 19/127 . 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 < 1762589835 and b.endtime > 1762589835 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.001717s/0.16555s=1.04%]
- 20/127 . 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.001700s/0.16555s=1.03%]
- 21/127 . 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.001686s/0.16555s=1.02%]
- 22/127 . 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 < 1762589835 and b.endtime > 1762589835 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.001671s/0.16555s=1.01%]
- 23/127 . 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.001668s/0.16555s=1.01%]
- 24/127 . 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.001617s/0.16555s=0.98%]
- 25/127 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (74,70,69,68,67,66,65,64) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001609s/0.16555s=0.97%]
- 26/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001594s/0.16555s=0.96%]
- 27/127 . 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.001554s/0.16555s=0.94%]
- 28/127 . SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.001509s/0.16555s=0.91%]
- 29/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001475s/0.16555s=0.89%]
- 30/127 . 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.001458s/0.16555s=0.88%]
- 31/127 . 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.001434s/0.16555s=0.87%]
- 32/127 . 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [0.001430s/0.16555s=0.86%]
- 33/127 . UPDATE `cart` SET `deletetime`=1762589835 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'qr84ircchj1rh5bhen7s76hcmb' AND `createtime` > 1762330635 ) AND `cart`.`deletetime` IS NULL [0.001379s/0.16555s=0.83%]
- 34/127 . 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.001379s/0.16555s=0.83%]
- 35/127 . 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 < 1762589835 and b.endtime > 1762589835 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.001359s/0.16555s=0.82%]
- 36/127 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001347s/0.16555s=0.81%]
- 37/127 . 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.001342s/0.16555s=0.81%]
- 38/127 . 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.001322s/0.16555s=0.80%]
- 39/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [0.001307s/0.16555s=0.79%]
- 40/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001265s/0.16555s=0.76%]
- 41/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001261s/0.16555s=0.76%]
- 42/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [0.001251s/0.16555s=0.76%]
- 43/127 . SELECT * FROM `activity` WHERE ( ( 1762589835 > starttime && 1762589835 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001250s/0.16555s=0.76%]
- 44/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001244s/0.16555s=0.75%]
- 45/127 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001228s/0.16555s=0.74%]
- 46/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001226s/0.16555s=0.74%]
- 47/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001220s/0.16555s=0.74%]
- 48/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001195s/0.16555s=0.72%]
- 49/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001192s/0.16555s=0.72%]
- 50/127 . 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.001191s/0.16555s=0.72%]
- 51/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (74,70,69,68,67,66,65,64) ) AND `discuss`.`deletetime` IS NULL [0.001179s/0.16555s=0.71%]
- 52/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001172s/0.16555s=0.71%]
- 53/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001171s/0.16555s=0.71%]
- 54/127 . 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.001167s/0.16555s=0.70%]
- 55/127 . 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.001166s/0.16555s=0.70%]
- 56/127 . 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.001150s/0.16555s=0.69%]
- 57/127 . 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.001143s/0.16555s=0.69%]
- 58/127 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001127s/0.16555s=0.68%]
- 59/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001127s/0.16555s=0.68%]
- 60/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001123s/0.16555s=0.68%]
- 61/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001120s/0.16555s=0.68%]
- 62/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001119s/0.16555s=0.68%]
- 63/127 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001112s/0.16555s=0.67%]
- 64/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001110s/0.16555s=0.67%]
- 65/127 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001103s/0.16555s=0.67%]
- 66/127 . 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.001099s/0.16555s=0.66%]
- 67/127 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001098s/0.16555s=0.66%]
- 68/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001093s/0.16555s=0.66%]
- 69/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001092s/0.16555s=0.66%]
- 70/127 . 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.001088s/0.16555s=0.66%]
- 71/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001088s/0.16555s=0.66%]
- 72/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001076s/0.16555s=0.65%]
- 73/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001065s/0.16555s=0.64%]
- 74/127 . 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.001063s/0.16555s=0.64%]
- 75/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001062s/0.16555s=0.64%]
- 76/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001059s/0.16555s=0.64%]
- 77/127 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001058s/0.16555s=0.64%]
- 78/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001053s/0.16555s=0.64%]
- 79/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001041s/0.16555s=0.63%]
- 80/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001041s/0.16555s=0.63%]
- 81/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001031s/0.16555s=0.62%]
- 82/127 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001026s/0.16555s=0.62%]
- 83/127 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001022s/0.16555s=0.62%]
- 84/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001013s/0.16555s=0.61%]
- 85/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [0.001012s/0.16555s=0.61%]
- 86/127 . 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.001008s/0.16555s=0.61%]
- 87/127 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.001002s/0.16555s=0.61%]
- 88/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000997s/0.16555s=0.60%]
- 89/127 . 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.000988s/0.16555s=0.60%]
- 90/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000984s/0.16555s=0.59%]
- 91/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000983s/0.16555s=0.59%]
- 92/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000982s/0.16555s=0.59%]
- 93/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000960s/0.16555s=0.58%]
- 94/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000960s/0.16555s=0.58%]
- 95/127 . 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.000960s/0.16555s=0.58%]
- 96/127 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000957s/0.16555s=0.58%]
- 97/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000956s/0.16555s=0.58%]
- 98/127 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000954s/0.16555s=0.58%]
- 99/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000948s/0.16555s=0.57%]
- 100/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000947s/0.16555s=0.57%]
- 101/127 . 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.000932s/0.16555s=0.56%]
- 102/127 . set time_zone = '+08:00' [0.000924s/0.16555s=0.56%]
- 103/127 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000919s/0.16555s=0.56%]
- 104/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000914s/0.16555s=0.55%]
- 105/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000905s/0.16555s=0.55%]
- 106/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000904s/0.16555s=0.55%]
- 107/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000896s/0.16555s=0.54%]
- 108/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000895s/0.16555s=0.54%]
- 109/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000887s/0.16555s=0.54%]
- 110/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000872s/0.16555s=0.53%]
- 111/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000871s/0.16555s=0.53%]
- 112/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000867s/0.16555s=0.52%]
- 113/127 . SELECT @@session.sql_mode [0.000863s/0.16555s=0.52%]
- 114/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000859s/0.16555s=0.52%]
- 115/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000852s/0.16555s=0.51%]
- 116/127 . 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.000851s/0.16555s=0.51%]
- 117/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000843s/0.16555s=0.51%]
- 118/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000843s/0.16555s=0.51%]
- 119/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000829s/0.16555s=0.50%]
- 120/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000818s/0.16555s=0.49%]
- 121/127 . SELECT @@session.sql_mode [0.000816s/0.16555s=0.49%]
- 122/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000815s/0.16555s=0.49%]
- 123/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000805s/0.16555s=0.49%]
- 124/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000779s/0.16555s=0.47%]
- 125/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000769s/0.16555s=0.46%]
- 126/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000748s/0.16555s=0.45%]
- 127/127 . SELECT @@session.sql_mode [0.000728s/0.16555s=0.44%]
- 1/17. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [16 times, 0.019472s/0.16555s=11.76%]
- 2/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [16 times, 0.021598s/0.16555s=13.05%]
- 3/17. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [9 times, 0.011568s/0.16555s=6.99%]
- 4/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [9 times, 0.009436s/0.16555s=5.70%]
- 5/17. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004832s/0.16555s=2.92%]
- 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.005925s/0.16555s=3.58%]
- 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.007015s/0.16555s=4.24%]
- 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.006749s/0.16555s=4.08%]
- 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.006319s/0.16555s=3.82%]
- 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.007211s/0.16555s=4.36%]
- 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.00489s/0.16555s=2.95%]
- 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.005019s/0.16555s=3.03%]
- 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.003398s/0.16555s=2.05%]
- 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.003002s/0.16555s=1.81%]
- 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.003201s/0.16555s=1.93%]
- 16/17. SELECT @@session.sql_mode [3 times, 0.002407s/0.16555s=1.45%]
- 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.002248s/0.16555s=1.36%]