基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-08 16:17:13 HTTP/1.1 GET : rcxq701.test3.shoppaas.co/category/all
- 运行时间 : 0.609132s [ 吞吐率:1.64req/s ] 内存消耗:5,844.00kb 文件加载:286
- 查询信息 : [耗时:0.229838s/0.609132 37.73% ] 127 queries ,7 writes
- 缓存信息 : 90 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=9hvh7ot4v3h3fucfe4d5ch6eis
- [ 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.000240s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000051s ]
- [ 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/all',
'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' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004077s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000028s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000061s ]
- [ 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.003401s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001831s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001780s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001714s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001673s ]
- [ 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.003322s ]
- [ 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.000511s ]
- [ 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.000762s ]
- [ 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.000761s ]
- [ 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.000750s ]
- [ 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.000784s ]
- [ 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.000771s ]
- [ 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.000572s ]
- [ 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.000591s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.018820s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.022111s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001715s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001006s ]
- 1/28 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.022111s ] [0.022111s/0.068726s=32.17%]
- 2/28 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.018820s ] [0.018820s/0.068726s=27.38%]
- 3/28 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004077s ] [0.004077s/0.068726s=5.93%]
- 4/28 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003401s ] [0.003401s/0.068726s=4.95%]
- 5/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.003322s ] [0.003322s/0.068726s=4.83%]
- 6/28 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001831s ] [0.001831s/0.068726s=2.66%]
- 7/28 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001780s ] [0.001780s/0.068726s=2.59%]
- 8/28 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001715s ] [0.001715s/0.068726s=2.50%]
- 9/28 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001714s ] [0.001714s/0.068726s=2.49%]
- 10/28 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001673s ] [0.001673s/0.068726s=2.43%]
- 11/28 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001272s ] [0.001272s/0.068726s=1.85%]
- 12/28 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001006s ] [0.001006s/0.068726s=1.46%]
- 13/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000784s ] [0.000784s/0.068726s=1.14%]
- 14/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000771s ] [0.000771s/0.068726s=1.12%]
- 15/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000762s ] [0.000762s/0.068726s=1.11%]
- 16/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000761s ] [0.000761s/0.068726s=1.11%]
- 17/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000750s ] [0.000750s/0.068726s=1.09%]
- 18/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000591s ] [0.000591s/0.068726s=0.86%]
- 19/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000572s ] [0.000572s/0.068726s=0.83%]
- 20/28 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000511s ] [0.000511s/0.068726s=0.74%]
- 21/28 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000240s ] [0.000240s/0.068726s=0.35%]
- 22/28 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000061s ] [0.000061s/0.068726s=0.09%]
- 23/28 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000051s ] [0.000051s/0.068726s=0.07%]
- 24/28 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000045s ] [0.000045s/0.068726s=0.07%]
- 25/28 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ] [0.000037s/0.068726s=0.05%]
- 26/28 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.068726s=0.04%]
- 27/28 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000028s ] [0.000028s/0.068726s=0.04%]
- 28/28 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.068726s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002235s ] 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.000937s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.001179s ]
- [ 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.001175s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001378s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001504s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000918s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001067s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1762589834 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '9hvh7ot4v3h3fucfe4d5ch6eis' AND `createtime` > 1762330634 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001130s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000730s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000649s ]
- [ 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` = '9hvh7ot4v3h3fucfe4d5ch6eis' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002013s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000681s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001128s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001200s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000910s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000690s ]
- [ 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 < 1762589834 and b.endtime > 1762589834 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002270s ]
- [ SQL ] select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (75,74,70,69,68,67,66,65,64,24,23,22,21,20,19,18,17,16,15,14) group by binary(p.name), binary(p1.name); [ RunTime:0.002589s ]
- [ 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.000848s ]
- [ 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 < 1762589834 and b.endtime > 1762589834 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001872s ]
- [ 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 < 1762589834 and b.endtime > 1762589834 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001584s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,74,70,69,68,67,66,65,64,24,23,22) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001056s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,74,70,69,68,67,66,65,64,24,23,22) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002248s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1762589834 > starttime && 1762589834 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001078s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [ RunTime:0.001061s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001286s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.004459s ]
- [ 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.001218s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001563s ]
- [ 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001502s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001160s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001168s ]
- [ 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.001326s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001577s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000988s ]
- [ 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.001184s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001369s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001840s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001117s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001824s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001504s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001238s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001113s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001378s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001424s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.003892s ]
- [ 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.002752s ]
- [ 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.003077s ]
- [ 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.001047s ]
- [ 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.001801s ]
- [ 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.001289s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001125s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001141s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001300s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000869s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001020s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000952s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000880s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001394s ]
- [ 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.001431s ]
- [ 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.001534s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001164s ]
- [ 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.004303s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001403s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000946s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001684s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001071s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.002581s ]
- [ 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.001725s ]
- [ 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.001997s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001417s ]
- [ 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.011271s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.003262s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001012s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.003621s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001064s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.004023s ]
- [ 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.001304s ]
- [ 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.001461s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.002397s ]
- [ 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.002680s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002890s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001772s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001117s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001905s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.003048s ]
- [ 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.002000s ]
- [ 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.001655s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001645s ]
- [ 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.002826s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001431s ]
- [ 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` = 75 LIMIT 1 [ RunTime:0.001089s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001115s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [ RunTime:0.001935s ]
- [ 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.001272s ]
- [ 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.002270s ]
- [ 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.001253s ]
- [ 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.001588s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001299s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001060s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002065s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001122s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001835s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000843s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000839s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [ RunTime:0.001919s ]
- [ 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.001155s ]
- [ 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.001203s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.002540s ]
- [ 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.001497s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001808s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001138s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001295s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001026s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001072s ]
- [ 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.001103s ]
- [ 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.001346s ]
- [ 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.012710s ]
- [ 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.001715s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001438s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000969s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000836s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000737s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001193s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001243s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001438s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000838s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.003497s ]
- 1/135 . 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.012710s/0.229838s=5.53%]
- 2/135 . 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.011271s/0.229838s=4.90%]
- 3/135 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.004459s/0.229838s=1.94%]
- 4/135 . 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.004303s/0.229838s=1.87%]
- 5/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.004023s/0.229838s=1.75%]
- 6/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.003892s/0.229838s=1.69%]
- 7/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.003621s/0.229838s=1.58%]
- 8/135 . SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.003497s/0.229838s=1.52%]
- 9/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.003262s/0.229838s=1.42%]
- 10/135 . 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.003077s/0.229838s=1.34%]
- 11/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.003048s/0.229838s=1.33%]
- 12/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002890s/0.229838s=1.26%]
- 13/135 . 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.002826s/0.229838s=1.23%]
- 14/135 . 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.002752s/0.229838s=1.20%]
- 15/135 . 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.002680s/0.229838s=1.17%]
- 16/135 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (75,74,70,69,68,67,66,65,64,24,23,22,21,20,19,18,17,16,15,14) group by binary(p.name), binary(p1.name); [0.002589s/0.229838s=1.13%]
- 17/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.002581s/0.229838s=1.12%]
- 18/135 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [0.002540s/0.229838s=1.11%]
- 19/135 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.002397s/0.229838s=1.04%]
- 20/135 . 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 < 1762589834 and b.endtime > 1762589834 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002270s/0.229838s=0.99%]
- 21/135 . 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.002270s/0.229838s=0.99%]
- 22/135 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (75,74,70,69,68,67,66,65,64,24,23,22) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002248s/0.229838s=0.98%]
- 23/135 . CONNECT:[ UseTime:0.002235s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1689753494345;charset=utf8mb4 [0.002235s/0.229838s=0.97%]
- 24/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002065s/0.229838s=0.90%]
- 25/135 . 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` = '9hvh7ot4v3h3fucfe4d5ch6eis' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002013s/0.229838s=0.88%]
- 26/135 . 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.002000s/0.229838s=0.87%]
- 27/135 . 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.001997s/0.229838s=0.87%]
- 28/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [0.001935s/0.229838s=0.84%]
- 29/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [0.001919s/0.229838s=0.83%]
- 30/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001905s/0.229838s=0.83%]
- 31/135 . 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 < 1762589834 and b.endtime > 1762589834 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001872s/0.229838s=0.81%]
- 32/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001840s/0.229838s=0.80%]
- 33/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001835s/0.229838s=0.80%]
- 34/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001824s/0.229838s=0.79%]
- 35/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001808s/0.229838s=0.79%]
- 36/135 . 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.001801s/0.229838s=0.78%]
- 37/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001772s/0.229838s=0.77%]
- 38/135 . 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.001725s/0.229838s=0.75%]
- 39/135 . 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.001715s/0.229838s=0.75%]
- 40/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001684s/0.229838s=0.73%]
- 41/135 . 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.001655s/0.229838s=0.72%]
- 42/135 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001645s/0.229838s=0.72%]
- 43/135 . 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.001588s/0.229838s=0.69%]
- 44/135 . 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 < 1762589834 and b.endtime > 1762589834 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001584s/0.229838s=0.69%]
- 45/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001577s/0.229838s=0.69%]
- 46/135 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001563s/0.229838s=0.68%]
- 47/135 . 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.001534s/0.229838s=0.67%]
- 48/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001504s/0.229838s=0.65%]
- 49/135 . set time_zone = '+08:00' [0.001504s/0.229838s=0.65%]
- 50/135 . 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [0.001502s/0.229838s=0.65%]
- 51/135 . 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.001497s/0.229838s=0.65%]
- 52/135 . 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.001461s/0.229838s=0.64%]
- 53/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001438s/0.229838s=0.63%]
- 54/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001438s/0.229838s=0.63%]
- 55/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001431s/0.229838s=0.62%]
- 56/135 . 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.001431s/0.229838s=0.62%]
- 57/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001424s/0.229838s=0.62%]
- 58/135 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001417s/0.229838s=0.62%]
- 59/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001403s/0.229838s=0.61%]
- 60/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001394s/0.229838s=0.61%]
- 61/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001378s/0.229838s=0.60%]
- 62/135 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001378s/0.229838s=0.60%]
- 63/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001369s/0.229838s=0.60%]
- 64/135 . 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.001346s/0.229838s=0.59%]
- 65/135 . 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.001326s/0.229838s=0.58%]
- 66/135 . 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.001304s/0.229838s=0.57%]
- 67/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001300s/0.229838s=0.57%]
- 68/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001299s/0.229838s=0.57%]
- 69/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001295s/0.229838s=0.56%]
- 70/135 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001289s/0.229838s=0.56%]
- 71/135 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001286s/0.229838s=0.56%]
- 72/135 . 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.001272s/0.229838s=0.55%]
- 73/135 . 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.001253s/0.229838s=0.55%]
- 74/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001243s/0.229838s=0.54%]
- 75/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001238s/0.229838s=0.54%]
- 76/135 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001228s/0.229838s=0.53%]
- 77/135 . 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.001218s/0.229838s=0.53%]
- 78/135 . 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.001203s/0.229838s=0.52%]
- 79/135 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001200s/0.229838s=0.52%]
- 80/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001193s/0.229838s=0.52%]
- 81/135 . 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.001184s/0.229838s=0.52%]
- 82/135 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001179s/0.229838s=0.51%]
- 83/135 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001175s/0.229838s=0.51%]
- 84/135 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001168s/0.229838s=0.51%]
- 85/135 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001164s/0.229838s=0.51%]
- 86/135 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001160s/0.229838s=0.50%]
- 87/135 . 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.001155s/0.229838s=0.50%]
- 88/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001141s/0.229838s=0.50%]
- 89/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001138s/0.229838s=0.50%]
- 90/135 . UPDATE `cart` SET `deletetime`=1762589834 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '9hvh7ot4v3h3fucfe4d5ch6eis' AND `createtime` > 1762330634 ) AND `cart`.`deletetime` IS NULL [0.001130s/0.229838s=0.49%]
- 91/135 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001128s/0.229838s=0.49%]
- 92/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001125s/0.229838s=0.49%]
- 93/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001122s/0.229838s=0.49%]
- 94/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001117s/0.229838s=0.49%]
- 95/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001117s/0.229838s=0.49%]
- 96/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001115s/0.229838s=0.49%]
- 97/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001113s/0.229838s=0.48%]
- 98/135 . 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.001103s/0.229838s=0.48%]
- 99/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001089s/0.229838s=0.47%]
- 100/135 . SELECT * FROM `activity` WHERE ( ( 1762589834 > starttime && 1762589834 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001078s/0.229838s=0.47%]
- 101/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001075s/0.229838s=0.47%]
- 102/135 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001072s/0.229838s=0.47%]
- 103/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001071s/0.229838s=0.47%]
- 104/135 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001067s/0.229838s=0.46%]
- 105/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001064s/0.229838s=0.46%]
- 106/135 . SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [0.001061s/0.229838s=0.46%]
- 107/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001060s/0.229838s=0.46%]
- 108/135 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,74,70,69,68,67,66,65,64,24,23,22) ) AND `discuss`.`deletetime` IS NULL [0.001056s/0.229838s=0.46%]
- 109/135 . 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.001047s/0.229838s=0.46%]
- 110/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001026s/0.229838s=0.45%]
- 111/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001020s/0.229838s=0.44%]
- 112/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001012s/0.229838s=0.44%]
- 113/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000988s/0.229838s=0.43%]
- 114/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000969s/0.229838s=0.42%]
- 115/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000961s/0.229838s=0.42%]
- 116/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000954s/0.229838s=0.42%]
- 117/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000952s/0.229838s=0.41%]
- 118/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000946s/0.229838s=0.41%]
- 119/135 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000937s/0.229838s=0.41%]
- 120/135 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000918s/0.229838s=0.40%]
- 121/135 . SELECT @@session.sql_mode [0.000910s/0.229838s=0.40%]
- 122/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000909s/0.229838s=0.40%]
- 123/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000880s/0.229838s=0.38%]
- 124/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000869s/0.229838s=0.38%]
- 125/135 . SELECT @@session.sql_mode [0.000863s/0.229838s=0.38%]
- 126/135 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000848s/0.229838s=0.37%]
- 127/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000843s/0.229838s=0.37%]
- 128/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000839s/0.229838s=0.37%]
- 129/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000838s/0.229838s=0.36%]
- 130/135 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000836s/0.229838s=0.36%]
- 131/135 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000737s/0.229838s=0.32%]
- 132/135 . SELECT @@session.sql_mode [0.000730s/0.229838s=0.32%]
- 133/135 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000690s/0.229838s=0.30%]
- 134/135 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000681s/0.229838s=0.30%]
- 135/135 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000649s/0.229838s=0.28%]
- 1/17. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [19 times, 0.02256s/0.229838s=9.82%]
- 2/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [19 times, 0.031726s/0.229838s=13.80%]
- 3/17. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [9 times, 0.009774s/0.229838s=4.25%]
- 4/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [9 times, 0.010902s/0.229838s=4.74%]
- 5/17. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004154s/0.229838s=1.81%]
- 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.00646s/0.229838s=2.81%]
- 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.011046s/0.229838s=4.81%]
- 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.006623s/0.229838s=2.88%]
- 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.006647s/0.229838s=2.89%]
- 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.02108s/0.229838s=9.17%]
- 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.005104s/0.229838s=2.22%]
- 12/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.01501s/0.229838s=6.53%]
- 13/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.006693s/0.229838s=2.91%]
- 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.003728s/0.229838s=1.62%]
- 15/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.005127s/0.229838s=2.23%]
- 16/17. SELECT @@session.sql_mode [3 times, 0.002503s/0.229838s=1.09%]
- 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.004964s/0.229838s=2.16%]