基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-08 18:05:51 HTTP/1.1 GET : rcxq701.test3.shoppaas.co/category/default.html
- 运行时间 : 0.411186s [ 吞吐率:2.43req/s ] 内存消耗:3,847.00kb 文件加载:279
- 查询信息 : [耗时:0.136847s/0.411186 33.28% ] 119 queries ,7 writes
- 缓存信息 : 86 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=6s7eb65buf3vv613sc6m13kiru
- [ 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.000393s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ]
- [ 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',
'cookie' => 'currency_code=USD; 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; PHPSESSID=6s7eb65buf3vv613sc6m13kiru',
'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.004084s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ]
- [ 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.002156s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001705s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001694s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001721s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001694s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001288s ]
- [ 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.002353s ]
- [ 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.000495s ]
- [ 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.000452s ]
- [ 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.000425s ]
- [ 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.000412s ]
- [ 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.000448s ]
- [ 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.000461s ]
- [ 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.000415s ]
- [ 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.000444s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.016703s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004177s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001792s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000992s ]
- 1/28 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.016703s ] [0.016703s/0.044614s=37.44%]
- 2/28 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004177s ] [0.004177s/0.044614s=9.36%]
- 3/28 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004084s ] [0.004084s/0.044614s=9.15%]
- 4/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002353s ] [0.002353s/0.044614s=5.27%]
- 5/28 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002156s ] [0.002156s/0.044614s=4.83%]
- 6/28 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001792s ] [0.001792s/0.044614s=4.02%]
- 7/28 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001721s ] [0.001721s/0.044614s=3.86%]
- 8/28 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001705s ] [0.001705s/0.044614s=3.82%]
- 9/28 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001694s ] [0.001694s/0.044614s=3.80%]
- 10/28 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001694s ] [0.001694s/0.044614s=3.80%]
- 11/28 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001288s ] [0.001288s/0.044614s=2.89%]
- 12/28 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000992s ] [0.000992s/0.044614s=2.22%]
- 13/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000495s ] [0.000495s/0.044614s=1.11%]
- 14/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000461s ] [0.000461s/0.044614s=1.03%]
- 15/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000452s ] [0.000452s/0.044614s=1.01%]
- 16/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000448s ] [0.000448s/0.044614s=1.00%]
- 17/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000444s ] [0.000444s/0.044614s=1.00%]
- 18/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000425s ] [0.000425s/0.044614s=0.95%]
- 19/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000415s ] [0.000415s/0.044614s=0.93%]
- 20/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000412s ] [0.000412s/0.044614s=0.92%]
- 21/28 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000393s ] [0.000393s/0.044614s=0.88%]
- 22/28 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ] [0.000067s/0.044614s=0.15%]
- 23/28 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000065s ] [0.000065s/0.044614s=0.15%]
- 24/28 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ] [0.000055s/0.044614s=0.12%]
- 25/28 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.044614s=0.12%]
- 26/28 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000029s ] [0.000029s/0.044614s=0.07%]
- 27/28 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.044614s=0.06%]
- 28/28 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.044614s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.001802s ] 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.000953s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001423s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001045s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000965s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000778s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000842s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000846s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1762596351 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '6s7eb65buf3vv613sc6m13kiru' AND `createtime` > 1762337151 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000993s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001147s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000593s ]
- [ 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` = '6s7eb65buf3vv613sc6m13kiru' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001398s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000590s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000804s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000642s ]
- [ 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 < 1762596351 and b.endtime > 1762596351 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.001806s ]
- [ 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.002564s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000795s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001012s ]
- [ 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 < 1762596351 and b.endtime > 1762596351 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.001499s ]
- [ 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 < 1762596351 and b.endtime > 1762596351 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.001514s ]
- [ 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.001454s ]
- [ 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.002223s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1762596351 > starttime && 1762596351 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001277s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000922s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000824s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000821s ]
- [ 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.001017s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001181s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000898s ]
- [ 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.001263s ]
- [ 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.000942s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001307s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000898s ]
- [ 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.001282s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000851s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000958s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000939s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000841s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001423s ]
- [ 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.001222s ]
- [ 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.001355s ]
- [ 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.001639s ]
- [ 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.001397s ]
- [ 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.000989s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000747s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000738s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000839s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001256s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000892s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000978s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001133s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001546s ]
- [ 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.000845s ]
- [ 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.001078s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000870s ]
- [ 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.001497s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001217s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000873s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000896s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000884s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001099s ]
- [ 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.000910s ]
- [ 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.001043s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000890s ]
- [ 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.001337s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001055s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000993s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000877s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000724s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001045s ]
- [ 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.000969s ]
- [ 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.001226s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000919s ]
- [ 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.001775s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001378s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000850s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000844s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001046s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001133s ]
- [ 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.000927s ]
- [ 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.001202s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001007s ]
- [ 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.001303s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000943s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000897s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000798s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [ RunTime:0.001171s ]
- [ 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.001029s ]
- [ 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.001871s ]
- [ 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.000927s ]
- [ 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.001529s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000796s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000961s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001432s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000836s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000886s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000935s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [ RunTime:0.001305s ]
- [ 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.000960s ]
- [ 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.001466s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001033s ]
- [ 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.001398s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001003s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000767s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000828s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000759s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001108s ]
- [ 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.000920s ]
- [ 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.001173s ]
- [ 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.001048s ]
- [ 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.001350s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001010s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000711s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001078s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000763s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001077s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000743s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000783s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000810s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001436s ]
- 1/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.002564s/0.136847s=1.87%]
- 2/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.002223s/0.136847s=1.62%]
- 3/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.001871s/0.136847s=1.37%]
- 4/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 < 1762596351 and b.endtime > 1762596351 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.001806s/0.136847s=1.32%]
- 5/127 . CONNECT:[ UseTime:0.001802s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1689753494345;charset=utf8mb4 [0.001802s/0.136847s=1.32%]
- 6/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.001775s/0.136847s=1.30%]
- 7/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.001639s/0.136847s=1.20%]
- 8/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001546s/0.136847s=1.13%]
- 9/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.001529s/0.136847s=1.12%]
- 10/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 < 1762596351 and b.endtime > 1762596351 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.001514s/0.136847s=1.11%]
- 11/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 < 1762596351 and b.endtime > 1762596351 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.001499s/0.136847s=1.10%]
- 12/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.001497s/0.136847s=1.09%]
- 13/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.001466s/0.136847s=1.07%]
- 14/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.001454s/0.136847s=1.06%]
- 15/127 . SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.001436s/0.136847s=1.05%]
- 16/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001432s/0.136847s=1.05%]
- 17/127 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001423s/0.136847s=1.04%]
- 18/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001423s/0.136847s=1.04%]
- 19/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` = '6s7eb65buf3vv613sc6m13kiru' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001398s/0.136847s=1.02%]
- 20/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.001398s/0.136847s=1.02%]
- 21/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.001397s/0.136847s=1.02%]
- 22/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001378s/0.136847s=1.01%]
- 23/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.001355s/0.136847s=0.99%]
- 24/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.001350s/0.136847s=0.99%]
- 25/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.001337s/0.136847s=0.98%]
- 26/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001307s/0.136847s=0.96%]
- 27/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [0.001305s/0.136847s=0.95%]
- 28/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.001303s/0.136847s=0.95%]
- 29/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.001282s/0.136847s=0.94%]
- 30/127 . SELECT * FROM `activity` WHERE ( ( 1762596351 > starttime && 1762596351 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001277s/0.136847s=0.93%]
- 31/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.001263s/0.136847s=0.92%]
- 32/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001256s/0.136847s=0.92%]
- 33/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.001226s/0.136847s=0.90%]
- 34/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.001222s/0.136847s=0.89%]
- 35/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001217s/0.136847s=0.89%]
- 36/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.001202s/0.136847s=0.88%]
- 37/127 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001181s/0.136847s=0.86%]
- 38/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.001173s/0.136847s=0.86%]
- 39/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [0.001171s/0.136847s=0.86%]
- 40/127 . SELECT @@session.sql_mode [0.001147s/0.136847s=0.84%]
- 41/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001133s/0.136847s=0.83%]
- 42/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001133s/0.136847s=0.83%]
- 43/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001108s/0.136847s=0.81%]
- 44/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001099s/0.136847s=0.80%]
- 45/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.001078s/0.136847s=0.79%]
- 46/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001078s/0.136847s=0.79%]
- 47/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001077s/0.136847s=0.79%]
- 48/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001055s/0.136847s=0.77%]
- 49/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.001048s/0.136847s=0.77%]
- 50/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001046s/0.136847s=0.76%]
- 51/127 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001045s/0.136847s=0.76%]
- 52/127 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001045s/0.136847s=0.76%]
- 53/127 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001044s/0.136847s=0.76%]
- 54/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.001043s/0.136847s=0.76%]
- 55/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001040s/0.136847s=0.76%]
- 56/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [0.001033s/0.136847s=0.75%]
- 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.001029s/0.136847s=0.75%]
- 58/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.001017s/0.136847s=0.74%]
- 59/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001012s/0.136847s=0.74%]
- 60/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001010s/0.136847s=0.74%]
- 61/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001007s/0.136847s=0.74%]
- 62/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001003s/0.136847s=0.73%]
- 63/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000998s/0.136847s=0.73%]
- 64/127 . UPDATE `cart` SET `deletetime`=1762596351 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '6s7eb65buf3vv613sc6m13kiru' AND `createtime` > 1762337151 ) AND `cart`.`deletetime` IS NULL [0.000993s/0.136847s=0.73%]
- 65/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000993s/0.136847s=0.73%]
- 66/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.000989s/0.136847s=0.72%]
- 67/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000978s/0.136847s=0.71%]
- 68/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.000969s/0.136847s=0.71%]
- 69/127 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000965s/0.136847s=0.71%]
- 70/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000961s/0.136847s=0.70%]
- 71/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.000960s/0.136847s=0.70%]
- 72/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000958s/0.136847s=0.70%]
- 73/127 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000953s/0.136847s=0.70%]
- 74/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000943s/0.136847s=0.69%]
- 75/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.000942s/0.136847s=0.69%]
- 76/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000939s/0.136847s=0.69%]
- 77/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000935s/0.136847s=0.68%]
- 78/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.000927s/0.136847s=0.68%]
- 79/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.000927s/0.136847s=0.68%]
- 80/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000922s/0.136847s=0.67%]
- 81/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.000920s/0.136847s=0.67%]
- 82/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.000919s/0.136847s=0.67%]
- 83/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.000910s/0.136847s=0.66%]
- 84/127 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000898s/0.136847s=0.66%]
- 85/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000898s/0.136847s=0.66%]
- 86/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000897s/0.136847s=0.66%]
- 87/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000896s/0.136847s=0.65%]
- 88/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000894s/0.136847s=0.65%]
- 89/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000892s/0.136847s=0.65%]
- 90/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.000890s/0.136847s=0.65%]
- 91/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000886s/0.136847s=0.65%]
- 92/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000884s/0.136847s=0.65%]
- 93/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000877s/0.136847s=0.64%]
- 94/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000873s/0.136847s=0.64%]
- 95/127 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.000870s/0.136847s=0.64%]
- 96/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000851s/0.136847s=0.62%]
- 97/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000850s/0.136847s=0.62%]
- 98/127 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000846s/0.136847s=0.62%]
- 99/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.000845s/0.136847s=0.62%]
- 100/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000844s/0.136847s=0.62%]
- 101/127 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000842s/0.136847s=0.62%]
- 102/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000841s/0.136847s=0.61%]
- 103/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000839s/0.136847s=0.61%]
- 104/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000836s/0.136847s=0.61%]
- 105/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000828s/0.136847s=0.61%]
- 106/127 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000824s/0.136847s=0.60%]
- 107/127 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000821s/0.136847s=0.60%]
- 108/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000810s/0.136847s=0.59%]
- 109/127 . SELECT @@session.sql_mode [0.000804s/0.136847s=0.59%]
- 110/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000798s/0.136847s=0.58%]
- 111/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000796s/0.136847s=0.58%]
- 112/127 . SELECT @@session.sql_mode [0.000795s/0.136847s=0.58%]
- 113/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000783s/0.136847s=0.57%]
- 114/127 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000778s/0.136847s=0.57%]
- 115/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000778s/0.136847s=0.57%]
- 116/127 . set time_zone = '+08:00' [0.000778s/0.136847s=0.57%]
- 117/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000767s/0.136847s=0.56%]
- 118/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000763s/0.136847s=0.56%]
- 119/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000759s/0.136847s=0.55%]
- 120/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000747s/0.136847s=0.55%]
- 121/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000743s/0.136847s=0.54%]
- 122/127 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000738s/0.136847s=0.54%]
- 123/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000724s/0.136847s=0.53%]
- 124/127 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000711s/0.136847s=0.52%]
- 125/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000642s/0.136847s=0.47%]
- 126/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000593s/0.136847s=0.43%]
- 127/127 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000590s/0.136847s=0.43%]
- 1/17. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [16 times, 0.013454s/0.136847s=9.83%]
- 2/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [16 times, 0.015531s/0.136847s=11.35%]
- 3/17. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [9 times, 0.008046s/0.136847s=5.88%]
- 4/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [9 times, 0.009509s/0.136847s=6.95%]
- 5/17. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003759s/0.136847s=2.75%]
- 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.003651s/0.136847s=2.67%]
- 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.004823s/0.136847s=3.52%]
- 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.003686s/0.136847s=2.69%]
- 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.004549s/0.136847s=3.32%]
- 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.005912s/0.136847s=4.32%]
- 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.004276s/0.136847s=3.12%]
- 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.004399s/0.136847s=3.21%]
- 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.003171s/0.136847s=2.32%]
- 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.003487s/0.136847s=2.55%]
- 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.003614s/0.136847s=2.64%]
- 16/17. SELECT @@session.sql_mode [3 times, 0.002746s/0.136847s=2.01%]
- 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.002531s/0.136847s=1.85%]