基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-25 02:56:40 HTTP/1.1 GET : saasa.cn/product/hendrick-motorsports-5-whiskey-bottle-2025-2173896109310.html
- 运行时间 : 0.280238s [ 吞吐率:3.57req/s ] 内存消耗:3,176.84kb 文件加载:301
- 查询信息 : [耗时:0.093642s/0.280238 33.42% ] 75 queries ,5 writes
- 缓存信息 : 39 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=a0i7ol57lrfhac6ilerkqn88bg
- [ 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.000253s ]
- [ 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.000056s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'saasa.cn',
'x-forwarded-for' => '216.73.216.156',
'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' => 'saasa.cn',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004237s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1736997004309:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->view[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/arise/template/product_view.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 => 'save_text',
39 => 'convert_heler',
40 => 'product',
41 => 'product_id',
42 => 'product_info',
43 => 'product_customize',
44 => 'pod_products',
45 => 'seotitle',
46 => 'seokeywords',
47 => 'seodescription',
48 => 'page_type',
49 => 'combination_product_info',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003366s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001638s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001560s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001542s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001571s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001082s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000003s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001608s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000051s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
8 => 'template_name',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000317s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_stripe_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'template_name',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000260s ]
- [ VIEW ] /wwwroot/addons/aftersaleshow/view/aftersale_show.html [ array (
0 => 'after_sales_information',
1 => 'position',
) ]
- [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001176s ]
- [ VIEW ] /wwwroot/addons/aftersaleshow/view/aftersale_show.html [ array (
0 => 'after_sales_information',
1 => 'position',
) ]
- [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001366s ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.003154s ]
- [ VIEW ] /wwwroot/template/arise/../arise/template/product_featured_cart.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',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.054491s ]
- [ VIEW ] /wwwroot/template/arise/../arise/template/product_featured.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',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.045586s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001750s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001694s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001032s ]
- 1/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.054491s ] [0.054491s/0.128115s=42.53%]
- 2/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.045586s ] [0.045586s/0.128115s=35.58%]
- 3/29 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004237s ] [0.004237s/0.128115s=3.31%]
- 4/29 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003366s ] [0.003366s/0.128115s=2.63%]
- 5/29 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.003154s ] [0.003154s/0.128115s=2.46%]
- 6/29 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001750s ] [0.001750s/0.128115s=1.37%]
- 7/29 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001694s ] [0.001694s/0.128115s=1.32%]
- 8/29 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001638s ] [0.001638s/0.128115s=1.28%]
- 9/29 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001608s ] [0.001608s/0.128115s=1.26%]
- 10/29 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001571s ] [0.001571s/0.128115s=1.23%]
- 11/29 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001560s ] [0.001560s/0.128115s=1.22%]
- 12/29 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001542s ] [0.001542s/0.128115s=1.20%]
- 13/29 . [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001366s ] [0.001366s/0.128115s=1.07%]
- 14/29 . [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001176s ] [0.001176s/0.128115s=0.92%]
- 15/29 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001082s ] [0.001082s/0.128115s=0.84%]
- 16/29 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001032s ] [0.001032s/0.128115s=0.81%]
- 17/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000317s ] [0.000317s/0.128115s=0.25%]
- 18/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000260s ] [0.000260s/0.128115s=0.20%]
- 19/29 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000253s ] [0.000253s/0.128115s=0.20%]
- 20/29 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ] [0.000104s/0.128115s=0.08%]
- 21/29 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ] [0.000056s/0.128115s=0.04%]
- 22/29 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000051s ] [0.000051s/0.128115s=0.04%]
- 23/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000048s ] [0.000048s/0.128115s=0.04%]
- 24/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000045s ] [0.000045s/0.128115s=0.04%]
- 25/29 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ] [0.000044s/0.128115s=0.03%]
- 26/29 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ] [0.000037s/0.128115s=0.03%]
- 27/29 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.128115s=0.02%]
- 28/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.128115s=0.01%]
- 29/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000003s ] [0.000003s/0.128115s=0.00%]
- [ DB ] CONNECT:[ UseTime:0.004101s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1736997004309;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001055s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001242s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003139s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000984s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000874s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000856s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001240s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1764010600 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'a0i7ol57lrfhac6ilerkqn88bg' AND `createtime` > 1763751400 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001510s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001532s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000632s ]
- [ 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` = 'a0i7ol57lrfhac6ilerkqn88bg' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002038s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000855s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000965s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001164s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001132s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001052s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1764010600 > starttime && 1764010600 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000845s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000935s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [ RunTime:0.005174s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001879s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000886s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000816s ]
- [ SQL ] SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 4 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001077s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000773s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.000849s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.002315s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (3) LIMIT 1 [ RunTime:0.000862s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'arise' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001026s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1764010600 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001048s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000869s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.000925s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001002s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000974s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000914s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001013s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000825s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001022s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1764010600 AND `ends_at` >= 1764010600 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001264s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1764010600
AND pcm.`ends_at` >= 1764010600
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000833s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [ RunTime:0.000781s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [ RunTime:0.001066s ]
- [ SQL ] SELECT `id`,`type`,`title`,`subtitle`,`supplier`,`spu`,`status`,`audit_status`,`audit_reject_times`,`auto_shelves_after_audit`,`is_tax`,`weigh`,`category_ids`,`product_tag_ids`,`product_tag_names`,`image`,`images`,`params`,`price`,`original_price`,`is_sku`,`likes`,`views`,`sales`,`size_country`,`size_guide`,`marketing_size_guide_id`,`show_sales`,`service_ids`,`shipping_type`,`shipping_ids`,`is_custom`,`custom_config`,`draft_product_id`,`seotitle`,`keywords`,`description`,`path`,`is_tob_sku`,`product_topic_style`,`createtime`,`updatetime`,`deletetime`,`is_custom_plus`,`is_additional_product`,`show_deleted_sku`,`gtin` FROM `product` WHERE ( `id` = 4 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001339s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002616s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 4 AND ( ( find_in_set(3, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [ RunTime:0.000951s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 4 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [ RunTime:0.000813s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001085s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,1,11,16,12,13,14,15) LIMIT 0,15 [ RunTime:0.001666s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000824s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001048s ]
- [ 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.001309s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [ RunTime:0.000933s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [ RunTime:0.000924s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001027s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000899s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000913s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000943s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001000s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000876s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000694s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000766s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001337s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 4 AND ( ( find_in_set(3, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [ RunTime:0.000919s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 4 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [ RunTime:0.000951s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000845s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,1,11,16,12,13,14,15) LIMIT 0,15 [ RunTime:0.001255s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000831s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001153s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [ RunTime:0.000931s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [ RunTime:0.000903s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001059s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000756s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000895s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000783s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000794s ]
- [ 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` = 1 LIMIT 1 [ RunTime:0.000727s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000716s ]
- 1/81 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [0.005174s/0.093642s=5.53%]
- 2/81 . CONNECT:[ UseTime:0.004101s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1736997004309;charset=utf8mb4 [0.004101s/0.093642s=4.38%]
- 3/81 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.003139s/0.093642s=3.35%]
- 4/81 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.002616s/0.093642s=2.79%]
- 5/81 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.002315s/0.093642s=2.47%]
- 6/81 . 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` = 'a0i7ol57lrfhac6ilerkqn88bg' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002038s/0.093642s=2.18%]
- 7/81 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001879s/0.093642s=2.01%]
- 8/81 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,1,11,16,12,13,14,15) LIMIT 0,15 [0.001666s/0.093642s=1.78%]
- 9/81 . SELECT @@session.sql_mode [0.001532s/0.093642s=1.64%]
- 10/81 . UPDATE `cart` SET `deletetime`=1764010600 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'a0i7ol57lrfhac6ilerkqn88bg' AND `createtime` > 1763751400 ) AND `cart`.`deletetime` IS NULL [0.001510s/0.093642s=1.61%]
- 11/81 . SELECT `id`,`type`,`title`,`subtitle`,`supplier`,`spu`,`status`,`audit_status`,`audit_reject_times`,`auto_shelves_after_audit`,`is_tax`,`weigh`,`category_ids`,`product_tag_ids`,`product_tag_names`,`image`,`images`,`params`,`price`,`original_price`,`is_sku`,`likes`,`views`,`sales`,`size_country`,`size_guide`,`marketing_size_guide_id`,`show_sales`,`service_ids`,`shipping_type`,`shipping_ids`,`is_custom`,`custom_config`,`draft_product_id`,`seotitle`,`keywords`,`description`,`path`,`is_tob_sku`,`product_topic_style`,`createtime`,`updatetime`,`deletetime`,`is_custom_plus`,`is_additional_product`,`show_deleted_sku`,`gtin` FROM `product` WHERE ( `id` = 4 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001339s/0.093642s=1.43%]
- 12/81 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001337s/0.093642s=1.43%]
- 13/81 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001309s/0.093642s=1.40%]
- 14/81 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1764010600 AND `ends_at` >= 1764010600 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001264s/0.093642s=1.35%]
- 15/81 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,1,11,16,12,13,14,15) LIMIT 0,15 [0.001255s/0.093642s=1.34%]
- 16/81 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001242s/0.093642s=1.33%]
- 17/81 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001240s/0.093642s=1.32%]
- 18/81 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001164s/0.093642s=1.24%]
- 19/81 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001153s/0.093642s=1.23%]
- 20/81 . SELECT * FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001132s/0.093642s=1.21%]
- 21/81 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001085s/0.093642s=1.16%]
- 22/81 . SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 4 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001077s/0.093642s=1.15%]
- 23/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001075s/0.093642s=1.15%]
- 24/81 . SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [0.001066s/0.093642s=1.14%]
- 25/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001059s/0.093642s=1.13%]
- 26/81 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001055s/0.093642s=1.13%]
- 27/81 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001052s/0.093642s=1.12%]
- 28/81 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1764010600 AND `status` = 'enable' AND `deletetime` IS NULL [0.001048s/0.093642s=1.12%]
- 29/81 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001048s/0.093642s=1.12%]
- 30/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001027s/0.093642s=1.10%]
- 31/81 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'arise' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001026s/0.093642s=1.10%]
- 32/81 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL [0.001022s/0.093642s=1.09%]
- 33/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001017s/0.093642s=1.09%]
- 34/81 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001013s/0.093642s=1.08%]
- 35/81 . SELECT * FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001002s/0.093642s=1.07%]
- 36/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001000s/0.093642s=1.07%]
- 37/81 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000984s/0.093642s=1.05%]
- 38/81 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000974s/0.093642s=1.04%]
- 39/81 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000965s/0.093642s=1.03%]
- 40/81 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000955s/0.093642s=1.02%]
- 41/81 . SELECT `id` FROM `product` WHERE ( `id` <> 4 AND ( ( find_in_set(3, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [0.000951s/0.093642s=1.02%]
- 42/81 . SELECT `id` FROM `product` WHERE ( `id` <> 4 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [0.000951s/0.093642s=1.02%]
- 43/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000943s/0.093642s=1.01%]
- 44/81 . SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000935s/0.093642s=1.00%]
- 45/81 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [0.000933s/0.093642s=1.00%]
- 46/81 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [0.000931s/0.093642s=0.99%]
- 47/81 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL [0.000925s/0.093642s=0.99%]
- 48/81 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [0.000924s/0.093642s=0.99%]
- 49/81 . SELECT `id` FROM `product` WHERE ( `id` <> 4 AND ( ( find_in_set(3, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [0.000919s/0.093642s=0.98%]
- 50/81 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000914s/0.093642s=0.98%]
- 51/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000913s/0.093642s=0.97%]
- 52/81 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [0.000903s/0.093642s=0.96%]
- 53/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000899s/0.093642s=0.96%]
- 54/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000895s/0.093642s=0.96%]
- 55/81 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000886s/0.093642s=0.95%]
- 56/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000876s/0.093642s=0.94%]
- 57/81 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000874s/0.093642s=0.93%]
- 58/81 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000869s/0.093642s=0.93%]
- 59/81 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (3) LIMIT 1 [0.000862s/0.093642s=0.92%]
- 60/81 . set time_zone = '+08:00' [0.000856s/0.093642s=0.91%]
- 61/81 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000855s/0.093642s=0.91%]
- 62/81 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.000849s/0.093642s=0.91%]
- 63/81 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000845s/0.093642s=0.90%]
- 64/81 . SELECT * FROM `activity` WHERE ( ( 1764010600 > starttime && 1764010600 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000845s/0.093642s=0.90%]
- 65/81 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1764010600
AND pcm.`ends_at` >= 1764010600
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000833s/0.093642s=0.89%]
- 66/81 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [0.000831s/0.093642s=0.89%]
- 67/81 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000825s/0.093642s=0.88%]
- 68/81 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [0.000824s/0.093642s=0.88%]
- 69/81 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000816s/0.093642s=0.87%]
- 70/81 . SELECT `id` FROM `product` WHERE ( `id` <> 4 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [0.000813s/0.093642s=0.87%]
- 71/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000794s/0.093642s=0.85%]
- 72/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000783s/0.093642s=0.84%]
- 73/81 . SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [0.000781s/0.093642s=0.83%]
- 74/81 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000773s/0.093642s=0.83%]
- 75/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000770s/0.093642s=0.82%]
- 76/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000766s/0.093642s=0.82%]
- 77/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000756s/0.093642s=0.81%]
- 78/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000727s/0.093642s=0.78%]
- 79/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000716s/0.093642s=0.76%]
- 80/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000694s/0.093642s=0.74%]
- 81/81 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000632s/0.093642s=0.67%]
- 1/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [9 times, 0.007986s/0.093642s=8.53%]
- 2/17. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [9 times, 0.007724s/0.093642s=8.25%]
- 3/17. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [4 times, 0.004406s/0.093642s=4.71%]
- 4/17. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [2 times, 0.001827s/0.093642s=1.95%]
- 5/17. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [2 times, 0.001864s/0.093642s=1.99%]
- 6/17. SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002201s/0.093642s=2.35%]
- 7/17. SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [2 times, 0.001655s/0.093642s=1.77%]
- 8/17. SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,1,11,16,12,13,14,15) LIMIT 0,15 [2 times, 0.002921s/0.093642s=3.12%]
- 9/17. SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,1,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.00193s/0.093642s=2.06%]
- 10/17. SELECT * FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002134s/0.093642s=2.28%]
- 11/17. SELECT `id` FROM `product` WHERE ( `id` <> 4 AND ( ( find_in_set(3, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [2 times, 0.00187s/0.093642s=2.00%]
- 12/17. SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'hendrick-motorsports-5-whiskey-bottle-2025-2173896109310' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.003953s/0.093642s=4.22%]
- 13/17. SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [2 times, 0.001847s/0.093642s=1.97%]
- 14/17. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.001947s/0.093642s=2.08%]
- 15/17. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002026s/0.093642s=2.16%]
- 16/17. SELECT `id` FROM `product` WHERE ( `id` <> 4 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [2 times, 0.001764s/0.093642s=1.88%]
- 17/17. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001487s/0.093642s=1.59%]