基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-08 23:32:11 HTTP/1.1 GET : rcxq701.test3.shoppaas.co/category/all?page=2
- 运行时间 : 0.559395s [ 吞吐率:1.79req/s ] 内存消耗:3,332.27kb 文件加载:280
- 查询信息 : [耗时:0.178944s/0.559395 31.99% ] 115 queries ,7 writes
- 缓存信息 : 86 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=nicvn4nv10n21m4gfduo302dhn
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000420s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000096s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000110s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'rcxq701.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.115',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'rcxq701.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '2',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.010280s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000098s ]
- [ 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.002578s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001965s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001815s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.004404s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001864s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001154s ]
- [ 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.003127s ]
- [ 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.000640s ]
- [ 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.000613s ]
- [ 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.000703s ]
- [ 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.000411s ]
- [ 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.000413s ]
- [ 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.000429s ]
- [ 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.000417s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.017685s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.006397s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002082s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001858s ]
- 1/27 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.017685s ] [0.017685s/0.059747s=29.60%]
- 2/27 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.010280s ] [0.010280s/0.059747s=17.21%]
- 3/27 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.006397s ] [0.006397s/0.059747s=10.71%]
- 4/27 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.004404s ] [0.004404s/0.059747s=7.37%]
- 5/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.003127s ] [0.003127s/0.059747s=5.23%]
- 6/27 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002578s ] [0.002578s/0.059747s=4.31%]
- 7/27 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002082s ] [0.002082s/0.059747s=3.48%]
- 8/27 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001965s ] [0.001965s/0.059747s=3.29%]
- 9/27 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001864s ] [0.001864s/0.059747s=3.12%]
- 10/27 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001858s ] [0.001858s/0.059747s=3.11%]
- 11/27 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001815s ] [0.001815s/0.059747s=3.04%]
- 12/27 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001154s ] [0.001154s/0.059747s=1.93%]
- 13/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000703s ] [0.000703s/0.059747s=1.18%]
- 14/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000640s ] [0.000640s/0.059747s=1.07%]
- 15/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000613s ] [0.000613s/0.059747s=1.03%]
- 16/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000429s ] [0.000429s/0.059747s=0.72%]
- 17/27 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000420s ] [0.000420s/0.059747s=0.70%]
- 18/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000417s ] [0.000417s/0.059747s=0.70%]
- 19/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000413s ] [0.000413s/0.059747s=0.69%]
- 20/27 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000411s ] [0.000411s/0.059747s=0.69%]
- 21/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000110s ] [0.000110s/0.059747s=0.18%]
- 22/27 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000098s ] [0.000098s/0.059747s=0.16%]
- 23/27 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000096s ] [0.000096s/0.059747s=0.16%]
- 24/27 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ] [0.000085s/0.059747s=0.14%]
- 25/27 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ] [0.000044s/0.059747s=0.07%]
- 26/27 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ] [0.000044s/0.059747s=0.07%]
- 27/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.059747s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.007203s ] 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.001085s ]
- [ 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.001827s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003192s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001786s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000919s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.002785s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000908s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000824s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1762615931 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'nicvn4nv10n21m4gfduo302dhn' AND `createtime` > 1762356731 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.002203s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.003929s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001370s ]
- [ 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` = 'nicvn4nv10n21m4gfduo302dhn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001671s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000679s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000915s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001125s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000929s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000656s ]
- [ 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 < 1762615931 and b.endtime > 1762615931 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.002113s ]
- [ 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.002228s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000680s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000694s ]
- [ 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 < 1762615931 and b.endtime > 1762615931 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.002025s ]
- [ 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 < 1762615931 and b.endtime > 1762615931 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 12,12 [ RunTime:0.001574s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (21,20,19,18,17,16,15,14) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001026s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (21,20,19,18,17,16,15,14) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002153s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1762615931 > starttime && 1762615931 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000882s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [ RunTime:0.001141s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000817s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000981s ]
- [ 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.000986s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000968s ]
- [ 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.001195s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000984s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001808s ]
- [ 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.003271s ]
- [ 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.001093s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001252s ]
- [ 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.001510s ]
- [ 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.001688s ]
- [ 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.001233s ]
- [ 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.002163s ]
- [ 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.001253s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001493s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000841s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001018s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000846s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001108s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000912s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001030s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000857s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001700s ]
- [ 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.000924s ]
- [ 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.001394s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001978s ]
- [ 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.001520s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002620s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001158s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000904s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.003680s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001193s ]
- [ 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.001632s ]
- [ 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.001242s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.003518s ]
- [ 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.001552s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002462s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.002516s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.001047s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001038s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.002467s ]
- [ 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.002359s ]
- [ 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.001412s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.003523s ]
- [ 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.001726s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002232s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.002079s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002322s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001043s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001681s ]
- [ 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.002391s ]
- [ 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.001586s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001044s ]
- [ 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.001495s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000996s ]
- [ 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.000862s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000755s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [ RunTime:0.001041s ]
- [ 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.001016s ]
- [ 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.001207s ]
- [ 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.001130s ]
- [ 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 * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000986s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000789s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000835s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000837s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000905s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000831s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000758s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [ RunTime:0.001059s ]
- [ 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.000829s ]
- [ 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.001120s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001143s ]
- [ 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.001284s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000864s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000772s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000825s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000736s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [ RunTime:0.001040s ]
- [ 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.000994s ]
- [ 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.001316s ]
- [ 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.001313s ]
- [ 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.001407s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.002244s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000987s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [ RunTime:0.000856s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000823s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001134s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000770s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.000821s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000712s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.002283s ]
- 1/123 . CONNECT:[ UseTime:0.007203s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1689753494345;charset=utf8mb4 [0.007203s/0.178944s=4.03%]
- 2/123 . SELECT @@session.sql_mode [0.003929s/0.178944s=2.20%]
- 3/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.003680s/0.178944s=2.06%]
- 4/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.003523s/0.178944s=1.97%]
- 5/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.003518s/0.178944s=1.97%]
- 6/123 . 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.003271s/0.178944s=1.83%]
- 7/123 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.003192s/0.178944s=1.78%]
- 8/123 . set time_zone = '+08:00' [0.002785s/0.178944s=1.56%]
- 9/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002620s/0.178944s=1.46%]
- 10/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.002516s/0.178944s=1.41%]
- 11/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.002467s/0.178944s=1.38%]
- 12/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002462s/0.178944s=1.38%]
- 13/123 . 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.002391s/0.178944s=1.34%]
- 14/123 . 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.002359s/0.178944s=1.32%]
- 15/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002322s/0.178944s=1.30%]
- 16/123 . SELECT * FROM `order` WHERE ( `createtime` >= 1753891200 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.002283s/0.178944s=1.28%]
- 17/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002244s/0.178944s=1.25%]
- 18/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.002232s/0.178944s=1.25%]
- 19/123 . 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.002228s/0.178944s=1.25%]
- 20/123 . UPDATE `cart` SET `deletetime`=1762615931 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'nicvn4nv10n21m4gfduo302dhn' AND `createtime` > 1762356731 ) AND `cart`.`deletetime` IS NULL [0.002203s/0.178944s=1.23%]
- 21/123 . 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.002163s/0.178944s=1.21%]
- 22/123 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (21,20,19,18,17,16,15,14) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002153s/0.178944s=1.20%]
- 23/123 . 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 < 1762615931 and b.endtime > 1762615931 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.002113s/0.178944s=1.18%]
- 24/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.002079s/0.178944s=1.16%]
- 25/123 . 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 < 1762615931 and b.endtime > 1762615931 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.002025s/0.178944s=1.13%]
- 26/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001978s/0.178944s=1.11%]
- 27/123 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001827s/0.178944s=1.02%]
- 28/123 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001808s/0.178944s=1.01%]
- 29/123 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001786s/0.178944s=1.00%]
- 30/123 . 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.001726s/0.178944s=0.96%]
- 31/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001700s/0.178944s=0.95%]
- 32/123 . 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.001688s/0.178944s=0.94%]
- 33/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001681s/0.178944s=0.94%]
- 34/123 . 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` = 'nicvn4nv10n21m4gfduo302dhn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001671s/0.178944s=0.93%]
- 35/123 . 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.001632s/0.178944s=0.91%]
- 36/123 . 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.001586s/0.178944s=0.89%]
- 37/123 . 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 < 1762615931 and b.endtime > 1762615931 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 12,12 [0.001574s/0.178944s=0.88%]
- 38/123 . 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.001552s/0.178944s=0.87%]
- 39/123 . 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.001520s/0.178944s=0.85%]
- 40/123 . 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.001510s/0.178944s=0.84%]
- 41/123 . 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.001495s/0.178944s=0.84%]
- 42/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001493s/0.178944s=0.83%]
- 43/123 . 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.001412s/0.178944s=0.79%]
- 44/123 . 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.001407s/0.178944s=0.79%]
- 45/123 . 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.178944s=0.78%]
- 46/123 . 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.001394s/0.178944s=0.78%]
- 47/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001370s/0.178944s=0.77%]
- 48/123 . 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.001316s/0.178944s=0.74%]
- 49/123 . 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.001313s/0.178944s=0.73%]
- 50/123 . 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.001284s/0.178944s=0.72%]
- 51/123 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001253s/0.178944s=0.70%]
- 52/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001252s/0.178944s=0.70%]
- 53/123 . 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.001242s/0.178944s=0.69%]
- 54/123 . 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.001233s/0.178944s=0.69%]
- 55/123 . 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.001207s/0.178944s=0.67%]
- 56/123 . 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.001195s/0.178944s=0.67%]
- 57/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001193s/0.178944s=0.67%]
- 58/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001158s/0.178944s=0.65%]
- 59/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70) ) AND `discuss`.`deletetime` IS NULL [0.001143s/0.178944s=0.64%]
- 60/123 . SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [0.001141s/0.178944s=0.64%]
- 61/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001134s/0.178944s=0.63%]
- 62/123 . 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.001130s/0.178944s=0.63%]
- 63/123 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001125s/0.178944s=0.63%]
- 64/123 . 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.001120s/0.178944s=0.63%]
- 65/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001108s/0.178944s=0.62%]
- 66/123 . 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.001093s/0.178944s=0.61%]
- 67/123 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001085s/0.178944s=0.61%]
- 68/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 2 [0.001059s/0.178944s=0.59%]
- 69/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001047s/0.178944s=0.59%]
- 70/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [0.001044s/0.178944s=0.58%]
- 71/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001043s/0.178944s=0.58%]
- 72/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 59 [0.001041s/0.178944s=0.58%]
- 73/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 99 [0.001040s/0.178944s=0.58%]
- 74/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001038s/0.178944s=0.58%]
- 75/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001031s/0.178944s=0.58%]
- 76/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001030s/0.178944s=0.58%]
- 77/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (21,20,19,18,17,16,15,14) ) AND `discuss`.`deletetime` IS NULL [0.001026s/0.178944s=0.57%]
- 78/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.001018s/0.178944s=0.57%]
- 79/123 . 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.001016s/0.178944s=0.57%]
- 80/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000996s/0.178944s=0.56%]
- 81/123 . 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.000994s/0.178944s=0.56%]
- 82/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000987s/0.178944s=0.55%]
- 83/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000986s/0.178944s=0.55%]
- 84/123 . 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.000986s/0.178944s=0.55%]
- 85/123 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000984s/0.178944s=0.55%]
- 86/123 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000981s/0.178944s=0.55%]
- 87/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000969s/0.178944s=0.54%]
- 88/123 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000968s/0.178944s=0.54%]
- 89/123 . SELECT @@session.sql_mode [0.000929s/0.178944s=0.52%]
- 90/123 . 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.000924s/0.178944s=0.52%]
- 91/123 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000919s/0.178944s=0.51%]
- 92/123 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000915s/0.178944s=0.51%]
- 93/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000912s/0.178944s=0.51%]
- 94/123 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000908s/0.178944s=0.51%]
- 95/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000905s/0.178944s=0.51%]
- 96/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000904s/0.178944s=0.51%]
- 97/123 . SELECT * FROM `activity` WHERE ( ( 1762615931 > starttime && 1762615931 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000882s/0.178944s=0.49%]
- 98/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000864s/0.178944s=0.48%]
- 99/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000862s/0.178944s=0.48%]
- 100/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000857s/0.178944s=0.48%]
- 101/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000856s/0.178944s=0.48%]
- 102/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000846s/0.178944s=0.47%]
- 103/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000841s/0.178944s=0.47%]
- 104/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000837s/0.178944s=0.47%]
- 105/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000835s/0.178944s=0.47%]
- 106/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000831s/0.178944s=0.46%]
- 107/123 . 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.000829s/0.178944s=0.46%]
- 108/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [0.000825s/0.178944s=0.46%]
- 109/123 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000824s/0.178944s=0.46%]
- 110/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000823s/0.178944s=0.46%]
- 111/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.000821s/0.178944s=0.46%]
- 112/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000817s/0.178944s=0.46%]
- 113/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000789s/0.178944s=0.44%]
- 114/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000772s/0.178944s=0.43%]
- 115/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000770s/0.178944s=0.43%]
- 116/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000758s/0.178944s=0.42%]
- 117/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000755s/0.178944s=0.42%]
- 118/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000736s/0.178944s=0.41%]
- 119/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000712s/0.178944s=0.40%]
- 120/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000694s/0.178944s=0.39%]
- 121/123 . SELECT @@session.sql_mode [0.000680s/0.178944s=0.38%]
- 122/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000679s/0.178944s=0.38%]
- 123/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000656s/0.178944s=0.37%]
- 1/17. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [16 times, 0.019869s/0.178944s=11.10%]
- 2/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 75 LIMIT 1 [16 times, 0.022566s/0.178944s=12.61%]
- 3/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [6 times, 0.005955s/0.178944s=3.33%]
- 4/17. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [6 times, 0.004914s/0.178944s=2.75%]
- 5/17. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004216s/0.178944s=2.36%]
- 6/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.006293s/0.178944s=3.52%]
- 7/17. SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (75,70,69,16,18) ) AND `discuss`.`deletetime` IS NULL [4 times, 0.010063s/0.178944s=5.62%]
- 8/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.007306s/0.178944s=4.08%]
- 9/17. SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (75,70,69,16,18) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,75,70,69,16,18) LIMIT 0,15 [4 times, 0.005634s/0.178944s=3.15%]
- 10/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.007041s/0.178944s=3.93%]
- 11/17. SELECT @@session.sql_mode [3 times, 0.005538s/0.178944s=3.09%]
- 12/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.00535s/0.178944s=2.99%]
- 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.00352s/0.178944s=1.97%]
- 14/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.004211s/0.178944s=2.35%]
- 15/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.004967s/0.178944s=2.78%]
- 16/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.003676s/0.178944s=2.05%]
- 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.002292s/0.178944s=1.28%]