基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-25 02:56:50 HTTP/1.1 GET : saasa.cn/product/1212.html
- 运行时间 : 0.233464s [ 吞吐率:4.28req/s ] 内存消耗:3,141.34kb 文件加载:303
- 查询信息 : [耗时:0.075684s/0.233464 32.42% ] 66 queries ,5 writes
- 缓存信息 : 39 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=rnt7dk96dhuls1vujsc60u32l6
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000248s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'saasa.cn',
'x-forwarded-for' => '216.73.216.156',
'cookie' => 'currency_code=USD; currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1739002772%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D; PHPSESSID=rnt7dk96dhuls1vujsc60u32l6',
'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' => '1212',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004226s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000026s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ]
- [ 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.003073s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001629s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001624s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001654s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001604s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001089s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000002s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001615s ]
- [ VIEW ] /wwwroot/addons/productcustom/view/product_custom.html [ array (
0 => 'data',
) ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.001506s ]
- [ 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.000287s ]
- [ 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.000257s ]
- [ VIEW ] /wwwroot/addons/aftersaleshow/view/aftersale_show.html [ array (
0 => 'after_sales_information',
1 => 'position',
) ]
- [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001483s ]
- [ VIEW ] /wwwroot/addons/aftersaleshow/view/aftersale_show.html [ array (
0 => 'after_sales_information',
1 => 'position',
) ]
- [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001044s ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.004539s ]
- [ 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.041267s ]
- [ 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.039358s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001710s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001574s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000993s ]
- 1/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.041267s ] [0.041267s/0.111131s=37.13%]
- 2/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.039358s ] [0.039358s/0.111131s=35.42%]
- 3/29 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.004539s ] [0.004539s/0.111131s=4.08%]
- 4/29 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004226s ] [0.004226s/0.111131s=3.80%]
- 5/29 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003073s ] [0.003073s/0.111131s=2.77%]
- 6/29 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001710s ] [0.001710s/0.111131s=1.54%]
- 7/29 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001654s ] [0.001654s/0.111131s=1.49%]
- 8/29 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001629s ] [0.001629s/0.111131s=1.47%]
- 9/29 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001624s ] [0.001624s/0.111131s=1.46%]
- 10/29 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001615s ] [0.001615s/0.111131s=1.45%]
- 11/29 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001604s ] [0.001604s/0.111131s=1.44%]
- 12/29 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001574s ] [0.001574s/0.111131s=1.42%]
- 13/29 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.001506s ] [0.001506s/0.111131s=1.36%]
- 14/29 . [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001483s ] [0.001483s/0.111131s=1.33%]
- 15/29 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001089s ] [0.001089s/0.111131s=0.98%]
- 16/29 . [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001044s ] [0.001044s/0.111131s=0.94%]
- 17/29 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000993s ] [0.000993s/0.111131s=0.89%]
- 18/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000287s ] [0.000287s/0.111131s=0.26%]
- 19/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000257s ] [0.000257s/0.111131s=0.23%]
- 20/29 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000248s ] [0.000248s/0.111131s=0.22%]
- 21/29 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.111131s=0.06%]
- 22/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000065s ] [0.000065s/0.111131s=0.06%]
- 23/29 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.111131s=0.05%]
- 24/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000048s ] [0.000048s/0.111131s=0.04%]
- 25/29 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000039s ] [0.000039s/0.111131s=0.04%]
- 26/29 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ] [0.000037s/0.111131s=0.03%]
- 27/29 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000026s ] [0.000026s/0.111131s=0.02%]
- 28/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.111131s=0.01%]
- 29/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000002s ] [0.000002s/0.111131s=0.00%]
- [ DB ] CONNECT:[ UseTime:0.002170s ] 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.000923s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000986s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001088s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001067s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000699s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000799s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000863s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1764010610 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'rnt7dk96dhuls1vujsc60u32l6' AND `createtime` > 1763751410 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001094s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000762s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000657s ]
- [ 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` = 'rnt7dk96dhuls1vujsc60u32l6' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001592s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000609s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001101s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001047s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '1212' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001225s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001074s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1764010610 > starttime && 1764010610 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000821s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 1 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000993s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 1 [ RunTime:0.005214s ]
- [ 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.002123s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001032s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000850s ]
- [ 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` = 1 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001175s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000857s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000792s ]
- [ SQL ] SELECT * FROM `custom_activity` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000862s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000981s ]
- [ SQL ] SELECT * FROM `custom_activity` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000738s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000878s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.000858s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.000951s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000731s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (3,4) LIMIT 1 [ RunTime:0.000925s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'arise' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001029s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1764010610 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.000785s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000824s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000948s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '1212' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000951s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000863s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000982s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001038s ]
- [ 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.000844s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000811s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1764010610 AND `ends_at` >= 1764010610 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001309s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000824s ]
- [ 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` <= 1764010610
AND pcm.`ends_at` >= 1764010610
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000894s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [ RunTime:0.001084s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [ RunTime:0.000735s ]
- [ 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` = 1 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001054s ]
- [ 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.000754s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '1212' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000900s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 1 AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [ RunTime:0.000885s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 1 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [ RunTime:0.000753s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000900s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,4,11,16,12,13,14,15) LIMIT 0,15 [ RunTime:0.001752s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000906s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001080s ]
- [ 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.001091s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [ RunTime:0.000993s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [ RunTime:0.000951s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '1212' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001178s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 1 AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [ RunTime:0.001103s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 1 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [ RunTime:0.000932s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000972s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,4,11,16,12,13,14,15) LIMIT 0,15 [ RunTime:0.001297s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000874s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001141s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [ RunTime:0.001041s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [ RunTime:0.000921s ]
- 1/72 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 1 [0.005214s/0.075684s=6.89%]
- 2/72 . CONNECT:[ UseTime:0.002170s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1736997004309;charset=utf8mb4 [0.002170s/0.075684s=2.87%]
- 3/72 . 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.002123s/0.075684s=2.81%]
- 4/72 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,4,11,16,12,13,14,15) LIMIT 0,15 [0.001752s/0.075684s=2.31%]
- 5/72 . 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` = 'rnt7dk96dhuls1vujsc60u32l6' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001592s/0.075684s=2.10%]
- 6/72 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1764010610 AND `ends_at` >= 1764010610 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001309s/0.075684s=1.73%]
- 7/72 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,4,11,16,12,13,14,15) LIMIT 0,15 [0.001297s/0.075684s=1.71%]
- 8/72 . SELECT * FROM `product` WHERE ( `path` = '1212' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001225s/0.075684s=1.62%]
- 9/72 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '1212' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001178s/0.075684s=1.56%]
- 10/72 . 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` = 1 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001175s/0.075684s=1.55%]
- 11/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001141s/0.075684s=1.51%]
- 12/72 . SELECT `id` FROM `product` WHERE ( `id` <> 1 AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [0.001103s/0.075684s=1.46%]
- 13/72 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001101s/0.075684s=1.45%]
- 14/72 . UPDATE `cart` SET `deletetime`=1764010610 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'rnt7dk96dhuls1vujsc60u32l6' AND `createtime` > 1763751410 ) AND `cart`.`deletetime` IS NULL [0.001094s/0.075684s=1.45%]
- 15/72 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001091s/0.075684s=1.44%]
- 16/72 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001088s/0.075684s=1.44%]
- 17/72 . SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [0.001084s/0.075684s=1.43%]
- 18/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001080s/0.075684s=1.43%]
- 19/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001074s/0.075684s=1.42%]
- 20/72 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001067s/0.075684s=1.41%]
- 21/72 . 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` = 1 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001054s/0.075684s=1.39%]
- 22/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001047s/0.075684s=1.38%]
- 23/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [0.001041s/0.075684s=1.38%]
- 24/72 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001038s/0.075684s=1.37%]
- 25/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001032s/0.075684s=1.36%]
- 26/72 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'arise' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001029s/0.075684s=1.36%]
- 27/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [0.000993s/0.075684s=1.31%]
- 28/72 . SELECT * FROM `discuss` WHERE ( `product_id` = 1 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000993s/0.075684s=1.31%]
- 29/72 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.000986s/0.075684s=1.30%]
- 30/72 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000982s/0.075684s=1.30%]
- 31/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000981s/0.075684s=1.30%]
- 32/72 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000972s/0.075684s=1.28%]
- 33/72 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000954s/0.075684s=1.26%]
- 34/72 . SELECT * FROM `product` WHERE ( `path` = '1212' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000951s/0.075684s=1.26%]
- 35/72 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.000951s/0.075684s=1.26%]
- 36/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [0.000951s/0.075684s=1.26%]
- 37/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000948s/0.075684s=1.25%]
- 38/72 . SELECT `id` FROM `product` WHERE ( `id` <> 1 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [0.000932s/0.075684s=1.23%]
- 39/72 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (3,4) LIMIT 1 [0.000925s/0.075684s=1.22%]
- 40/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000923s/0.075684s=1.22%]
- 41/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [0.000921s/0.075684s=1.22%]
- 42/72 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [0.000906s/0.075684s=1.20%]
- 43/72 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '1212' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000900s/0.075684s=1.19%]
- 44/72 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000900s/0.075684s=1.19%]
- 45/72 . 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` <= 1764010610
AND pcm.`ends_at` >= 1764010610
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000894s/0.075684s=1.18%]
- 46/72 . SELECT `id` FROM `product` WHERE ( `id` <> 1 AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [0.000885s/0.075684s=1.17%]
- 47/72 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000878s/0.075684s=1.16%]
- 48/72 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [0.000874s/0.075684s=1.15%]
- 49/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000863s/0.075684s=1.14%]
- 50/72 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000863s/0.075684s=1.14%]
- 51/72 . SELECT * FROM `custom_activity` WHERE `id` = 1 LIMIT 1 [0.000862s/0.075684s=1.14%]
- 52/72 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.000858s/0.075684s=1.13%]
- 53/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000857s/0.075684s=1.13%]
- 54/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000850s/0.075684s=1.12%]
- 55/72 . 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.000844s/0.075684s=1.12%]
- 56/72 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000824s/0.075684s=1.09%]
- 57/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000824s/0.075684s=1.09%]
- 58/72 . SELECT * FROM `activity` WHERE ( ( 1764010610 > starttime && 1764010610 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000821s/0.075684s=1.08%]
- 59/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000811s/0.075684s=1.07%]
- 60/72 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000799s/0.075684s=1.06%]
- 61/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000794s/0.075684s=1.05%]
- 62/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000792s/0.075684s=1.05%]
- 63/72 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1764010610 AND `status` = 'enable' AND `deletetime` IS NULL [0.000785s/0.075684s=1.04%]
- 64/72 . SELECT @@session.sql_mode [0.000762s/0.075684s=1.01%]
- 65/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000754s/0.075684s=1.00%]
- 66/72 . SELECT `id` FROM `product` WHERE ( `id` <> 1 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [0.000753s/0.075684s=0.99%]
- 67/72 . SELECT * FROM `custom_activity` WHERE `id` = 1 LIMIT 1 [0.000738s/0.075684s=0.98%]
- 68/72 . SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [0.000735s/0.075684s=0.97%]
- 69/72 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.000731s/0.075684s=0.97%]
- 70/72 . set time_zone = '+08:00' [0.000699s/0.075684s=0.92%]
- 71/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000657s/0.075684s=0.87%]
- 72/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000609s/0.075684s=0.80%]
- 1/17. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [7 times, 0.006247s/0.075684s=8.25%]
- 2/17. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [3 times, 0.002396s/0.075684s=3.17%]
- 3/17. SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002221s/0.075684s=2.93%]
- 4/17. SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `discuss`.`deletetime` IS NULL [2 times, 0.00178s/0.075684s=2.35%]
- 5/17. SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,6,7,4,11,16,12,13,14,15) LIMIT 0,15 [2 times, 0.003049s/0.075684s=4.03%]
- 6/17. SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,6,7,4,11,16,12,13,14,15) ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.001872s/0.075684s=2.47%]
- 7/17. SELECT `id` FROM `product` WHERE ( `id` <> 1 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 20 [2 times, 0.001685s/0.075684s=2.23%]
- 8/17. SELECT `id` FROM `product` WHERE ( `id` <> 1 AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, category_ids) ) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [2 times, 0.001988s/0.075684s=2.63%]
- 9/17. SELECT * FROM `product` WHERE ( `path` = '1212' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002176s/0.075684s=2.88%]
- 10/17. SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [2 times, 0.001819s/0.075684s=2.40%]
- 11/17. SELECT * FROM `custom_activity` WHERE `id` = 1 LIMIT 1 [2 times, 0.0016s/0.075684s=2.11%]
- 12/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 [2 times, 0.002967s/0.075684s=3.92%]
- 13/17. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.001937s/0.075684s=2.56%]
- 14/17. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [2 times, 0.002034s/0.075684s=2.69%]
- 15/17. SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '1212' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002078s/0.075684s=2.75%]
- 16/17. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [2 times, 0.001872s/0.075684s=2.47%]
- 17/17. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001266s/0.075684s=1.67%]