基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-10-28 19:43:00 HTTP/1.1 GET : weigui1229.test3.shoppaas.co/product/iphone-14-pro-max.html
- 运行时间 : 0.186673s [ 吞吐率:5.36req/s ] 内存消耗:14,936.55kb 文件加载:359
- 查询信息 : [耗时:0.066844s/0.186673 35.81% ] 36 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=dam0fimsr4kn8cj7ojiteu7gll
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ 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.000038s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'weigui1229.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.158',
'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' => 'weigui1229.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'iphone-14-pro-max',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004258s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1703820667669:',
'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/ella/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 => 'global_css',
14 => 'theme_diy_mode',
15 => 'theme_config',
16 => 'icon_image',
17 => 'head_code',
18 => 'end_code',
19 => 'controllername',
20 => 'actionname',
21 => 'user',
22 => 'language',
23 => 'lang',
24 => 'is_rtl_lang',
25 => 'site',
26 => 'config',
27 => 'currency_switch',
28 => 'currency_list',
29 => 'currency_site',
30 => 'currency',
31 => 'cart',
32 => 'subscribing',
33 => 'login',
34 => 'policies',
35 => 'is_mobile',
36 => 'not_show_login',
37 => 'customer_login_status',
38 => 'config_site_version',
39 => 'save_text',
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.003826s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001842s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001642s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002603s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001662s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001151s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001408s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000052s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ]
- [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000042s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000035s ]
- [ 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.000315s ]
- [ 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.000226s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003119s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000983s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.004860s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002323s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001632s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000986s ]
- 1/29 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.004860s ] [0.004860s/0.033548s=14.49%]
- 2/29 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004258s ] [0.004258s/0.033548s=12.69%]
- 3/29 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003826s ] [0.003826s/0.033548s=11.40%]
- 4/29 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003119s ] [0.003119s/0.033548s=9.30%]
- 5/29 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002603s ] [0.002603s/0.033548s=7.76%]
- 6/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002323s ] [0.002323s/0.033548s=6.92%]
- 7/29 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001842s ] [0.001842s/0.033548s=5.49%]
- 8/29 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001662s ] [0.001662s/0.033548s=4.95%]
- 9/29 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001642s ] [0.001642s/0.033548s=4.89%]
- 10/29 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001632s ] [0.001632s/0.033548s=4.86%]
- 11/29 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001408s ] [0.001408s/0.033548s=4.20%]
- 12/29 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001151s ] [0.001151s/0.033548s=3.43%]
- 13/29 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000986s ] [0.000986s/0.033548s=2.94%]
- 14/29 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000983s ] [0.000983s/0.033548s=2.93%]
- 15/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000315s ] [0.000315s/0.033548s=0.94%]
- 16/29 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000248s ] [0.000248s/0.033548s=0.74%]
- 17/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000226s ] [0.000226s/0.033548s=0.67%]
- 18/29 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ] [0.000065s/0.033548s=0.19%]
- 19/29 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.033548s=0.16%]
- 20/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000052s ] [0.000052s/0.033548s=0.16%]
- 21/29 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000050s ] [0.000050s/0.033548s=0.15%]
- 22/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ] [0.000047s/0.033548s=0.14%]
- 23/29 . [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000042s ] [0.000042s/0.033548s=0.13%]
- 24/29 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ] [0.000038s/0.033548s=0.11%]
- 25/29 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000035s ] [0.000035s/0.033548s=0.10%]
- 26/29 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ] [0.000035s/0.033548s=0.10%]
- 27/29 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ] [0.000031s/0.033548s=0.09%]
- 28/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.033548s=0.03%]
- 29/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ] [0.000005s/0.033548s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002378s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1703820667669;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002226s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002255s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001185s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001098s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000842s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001901s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000841s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000856s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1761651780 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'dam0fimsr4kn8cj7ojiteu7gll' AND `createtime` > 1761392580 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001627s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000981s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001063s ]
- [ 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` = 'dam0fimsr4kn8cj7ojiteu7gll' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001811s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000751s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001211s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.004755s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'iphone-14-pro-max' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001974s ]
- [ 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.001687s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1761651780 > starttime && 1761651780 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000934s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 1 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000997s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 1 [ RunTime:0.007422s ]
- [ 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.003810s ]
- [ 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.001408s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001068s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001376s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001229s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000866s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,3) LIMIT 1 [ RunTime:0.001464s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761651780 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001117s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001276s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001334s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'iphone-14-pro-max' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001171s ]
- [ 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.001270s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001039s ]
- [ 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` <= 1761651780
AND pcm.`ends_at` >= 1761651780
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001374s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001316s ]
- [ 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` <= 1761651780
AND pcm.`ends_at` >= 1761651780
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000950s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761651780 AND `ends_at` >= 1761651780 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001107s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001337s ]
- [ 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.001372s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 1 and deletetime is null order by createtime desc, id desc [ RunTime:0.001026s ]
- [ SQL ] SELECT `id`,`title` FROM `product` WHERE ( `path` = 'iphone-14-pro-max' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001139s ]
- 1/42 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 1 [0.007422s/0.066844s=11.10%]
- 2/42 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.004755s/0.066844s=7.11%]
- 3/42 . 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.003810s/0.066844s=5.70%]
- 4/42 . CONNECT:[ UseTime:0.002378s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1703820667669;charset=utf8mb4 [0.002378s/0.066844s=3.56%]
- 5/42 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.002255s/0.066844s=3.37%]
- 6/42 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.002226s/0.066844s=3.33%]
- 7/42 . SELECT * FROM `product` WHERE ( `path` = 'iphone-14-pro-max' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001974s/0.066844s=2.95%]
- 8/42 . set time_zone = '+08:00' [0.001901s/0.066844s=2.84%]
- 9/42 . 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` = 'dam0fimsr4kn8cj7ojiteu7gll' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001811s/0.066844s=2.71%]
- 10/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001687s/0.066844s=2.52%]
- 11/42 . UPDATE `cart` SET `deletetime`=1761651780 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'dam0fimsr4kn8cj7ojiteu7gll' AND `createtime` > 1761392580 ) AND `cart`.`deletetime` IS NULL [0.001627s/0.066844s=2.43%]
- 12/42 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,3) LIMIT 1 [0.001464s/0.066844s=2.19%]
- 13/42 . 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.001408s/0.066844s=2.11%]
- 14/42 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001376s/0.066844s=2.06%]
- 15/42 . 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` <= 1761651780
AND pcm.`ends_at` >= 1761651780
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001374s/0.066844s=2.06%]
- 16/42 . 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.001372s/0.066844s=2.05%]
- 17/42 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001337s/0.066844s=2.00%]
- 18/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL [0.001334s/0.066844s=2.00%]
- 19/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL [0.001316s/0.066844s=1.97%]
- 20/42 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.001276s/0.066844s=1.91%]
- 21/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001270s/0.066844s=1.90%]
- 22/42 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001229s/0.066844s=1.84%]
- 23/42 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001211s/0.066844s=1.81%]
- 24/42 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001185s/0.066844s=1.77%]
- 25/42 . SELECT * FROM `product` WHERE ( `path` = 'iphone-14-pro-max' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001171s/0.066844s=1.75%]
- 26/42 . SELECT `id`,`title` FROM `product` WHERE ( `path` = 'iphone-14-pro-max' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001139s/0.066844s=1.70%]
- 27/42 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761651780 AND `status` = 'enable' AND `deletetime` IS NULL [0.001117s/0.066844s=1.67%]
- 28/42 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761651780 AND `ends_at` >= 1761651780 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001107s/0.066844s=1.66%]
- 29/42 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001098s/0.066844s=1.64%]
- 30/42 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001068s/0.066844s=1.60%]
- 31/42 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001063s/0.066844s=1.59%]
- 32/42 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001039s/0.066844s=1.55%]
- 33/42 . SELECT *
FROM
discuss
where status='show' and product_id = 1 and deletetime is null order by createtime desc, id desc [0.001026s/0.066844s=1.53%]
- 34/42 . SELECT * FROM `discuss` WHERE ( `product_id` = 1 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000997s/0.066844s=1.49%]
- 35/42 . SELECT @@session.sql_mode [0.000981s/0.066844s=1.47%]
- 36/42 . 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` <= 1761651780
AND pcm.`ends_at` >= 1761651780
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000950s/0.066844s=1.42%]
- 37/42 . SELECT * FROM `activity` WHERE ( ( 1761651780 > starttime && 1761651780 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000934s/0.066844s=1.40%]
- 38/42 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000866s/0.066844s=1.30%]
- 39/42 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000856s/0.066844s=1.28%]
- 40/42 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000842s/0.066844s=1.26%]
- 41/42 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000841s/0.066844s=1.26%]
- 42/42 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000751s/0.066844s=1.12%]
- 1/5. 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` <= 1761651780
AND pcm.`ends_at` >= 1761651780
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [2 times, 0.002324s/0.066844s=3.48%]
- 2/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.00265s/0.066844s=3.96%]
- 3/5. SELECT * FROM `product` WHERE ( `path` = 'iphone-14-pro-max' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.003145s/0.066844s=4.70%]
- 4/5. 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.002957s/0.066844s=4.42%]
- 5/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001814s/0.066844s=2.71%]