基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-23 00:35:18 HTTP/1.1 GET : weigui1229.test3.shoppaas.co/product/apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2
- 运行时间 : 0.210705s [ 吞吐率:4.75req/s ] 内存消耗:15,014.79kb 文件加载:367
- 查询信息 : [耗时:0.056768s/0.210705 26.94% ] 43 queries ,5 writes
- 缓存信息 : 11 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=hjtcoj69qec9v2i5mpmrjbd4rf
- [ 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.000426s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000072s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000096s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ]
- [ 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.152',
'referer' => 'http://weigui1229.test3.shoppaas.co/product/apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2',
'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' => 'apple-iphone-15-a2884-512gb-星光色',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006511s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000051s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ]
- [ 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.001469s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001863s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001769s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001748s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001746s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001765s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001744s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001979s ]
- [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001084s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000914s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001530s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000074s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000007s ]
- [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000068s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001065s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000073s ]
- [ 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.000457s ]
- [ 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.000442s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003389s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001213s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005138s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002268s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000079s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001825s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003327s ]
- 1/34 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006511s ] [0.006511s/0.044448s=14.65%]
- 2/34 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005138s ] [0.005138s/0.044448s=11.56%]
- 3/34 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003389s ] [0.003389s/0.044448s=7.62%]
- 4/34 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003327s ] [0.003327s/0.044448s=7.49%]
- 5/34 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002268s ] [0.002268s/0.044448s=5.10%]
- 6/34 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001979s ] [0.001979s/0.044448s=4.45%]
- 7/34 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001863s ] [0.001863s/0.044448s=4.19%]
- 8/34 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001825s ] [0.001825s/0.044448s=4.11%]
- 9/34 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001769s ] [0.001769s/0.044448s=3.98%]
- 10/34 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001765s ] [0.001765s/0.044448s=3.97%]
- 11/34 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001748s ] [0.001748s/0.044448s=3.93%]
- 12/34 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001746s ] [0.001746s/0.044448s=3.93%]
- 13/34 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001744s ] [0.001744s/0.044448s=3.92%]
- 14/34 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001530s ] [0.001530s/0.044448s=3.44%]
- 15/34 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.001469s ] [0.001469s/0.044448s=3.30%]
- 16/34 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001213s ] [0.001213s/0.044448s=2.73%]
- 17/34 . [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001084s ] [0.001084s/0.044448s=2.44%]
- 18/34 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001065s ] [0.001065s/0.044448s=2.40%]
- 19/34 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000914s ] [0.000914s/0.044448s=2.06%]
- 20/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000457s ] [0.000457s/0.044448s=1.03%]
- 21/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000442s ] [0.000442s/0.044448s=0.99%]
- 22/34 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000426s ] [0.000426s/0.044448s=0.96%]
- 23/34 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ] [0.000104s/0.044448s=0.23%]
- 24/34 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000096s ] [0.000096s/0.044448s=0.22%]
- 25/34 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ] [0.000090s/0.044448s=0.20%]
- 26/34 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000079s ] [0.000079s/0.044448s=0.18%]
- 27/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000074s ] [0.000074s/0.044448s=0.17%]
- 28/34 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000073s ] [0.000073s/0.044448s=0.16%]
- 29/34 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000072s ] [0.000072s/0.044448s=0.16%]
- 30/34 . [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000068s ] [0.000068s/0.044448s=0.15%]
- 31/34 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000051s ] [0.000051s/0.044448s=0.11%]
- 32/34 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000047s ] [0.000047s/0.044448s=0.11%]
- 33/34 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.044448s=0.03%]
- 34/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000007s ] [0.000007s/0.044448s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.003447s ] 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.001093s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001073s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001351s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000995s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000943s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000774s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000872s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001050s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766421318 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hjtcoj69qec9v2i5mpmrjbd4rf' AND `createtime` > 1766162118 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001328s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000839s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000717s ]
- [ 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` = 'hjtcoj69qec9v2i5mpmrjbd4rf' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001526s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000815s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000929s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-星光色' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001202s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%E6%98%9F%E5%85%89%E8%89%B2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001083s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000974s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766421318 > starttime && 1766421318 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000823s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 5 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000957s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 5 [ RunTime:0.004934s ]
- [ 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.002017s ]
- [ 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` = 5 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001023s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000911s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001159s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001033s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000752s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.000801s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766421318 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.000964s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 5 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000838s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001729s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-星光色' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001189s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001785s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000942s ]
- [ 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` <= 1766421318
AND pcm.`ends_at` >= 1766421318
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000886s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.000860s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000888s ]
- [ 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` <= 1766421318
AND pcm.`ends_at` >= 1766421318
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000805s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000726s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766421318 AND `ends_at` >= 1766421318 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.000990s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000826s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001103s ]
- [ 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`,`lang` FROM `product` WHERE ( `id` = 5 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001082s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 5 and deletetime is null order by createtime desc, id desc [ RunTime:0.000876s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-星光色' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000975s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000885s ]
- 1/49 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 5 [0.004934s/0.056768s=8.69%]
- 2/49 . CONNECT:[ UseTime:0.003447s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1703820667669;charset=utf8mb4 [0.003447s/0.056768s=6.07%]
- 3/49 . 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.002017s/0.056768s=3.55%]
- 4/49 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001785s/0.056768s=3.14%]
- 5/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [0.001729s/0.056768s=3.05%]
- 6/49 . 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` = 'hjtcoj69qec9v2i5mpmrjbd4rf' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001526s/0.056768s=2.69%]
- 7/49 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001351s/0.056768s=2.38%]
- 8/49 . UPDATE `cart` SET `deletetime`=1766421318 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hjtcoj69qec9v2i5mpmrjbd4rf' AND `createtime` > 1766162118 ) AND `cart`.`deletetime` IS NULL [0.001328s/0.056768s=2.34%]
- 9/49 . SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-星光色' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001202s/0.056768s=2.12%]
- 10/49 . SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-星光色' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001189s/0.056768s=2.09%]
- 11/49 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001159s/0.056768s=2.04%]
- 12/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001116s/0.056768s=1.97%]
- 13/49 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001103s/0.056768s=1.94%]
- 14/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001093s/0.056768s=1.93%]
- 15/49 . SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%E6%98%9F%E5%85%89%E8%89%B2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001083s/0.056768s=1.91%]
- 16/49 . 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`,`lang` FROM `product` WHERE ( `id` = 5 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001082s/0.056768s=1.91%]
- 17/49 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001073s/0.056768s=1.89%]
- 18/49 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001050s/0.056768s=1.85%]
- 19/49 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001033s/0.056768s=1.82%]
- 20/49 . 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` = 5 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001023s/0.056768s=1.80%]
- 21/49 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000995s/0.056768s=1.75%]
- 22/49 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766421318 AND `ends_at` >= 1766421318 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.000990s/0.056768s=1.74%]
- 23/49 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.000975s/0.056768s=1.72%]
- 24/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000974s/0.056768s=1.72%]
- 25/49 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000973s/0.056768s=1.71%]
- 26/49 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766421318 AND `status` = 'enable' AND `deletetime` IS NULL [0.000964s/0.056768s=1.70%]
- 27/49 . SELECT * FROM `discuss` WHERE ( `product_id` = 5 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000957s/0.056768s=1.69%]
- 28/49 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000943s/0.056768s=1.66%]
- 29/49 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000942s/0.056768s=1.66%]
- 30/49 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000929s/0.056768s=1.64%]
- 31/49 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000911s/0.056768s=1.60%]
- 32/49 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-星光色' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000909s/0.056768s=1.60%]
- 33/49 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000888s/0.056768s=1.56%]
- 34/49 . 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` <= 1766421318
AND pcm.`ends_at` >= 1766421318
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000886s/0.056768s=1.56%]
- 35/49 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000885s/0.056768s=1.56%]
- 36/49 . SELECT *
FROM
discuss
where status='show' and product_id = 5 and deletetime is null order by createtime desc, id desc [0.000876s/0.056768s=1.54%]
- 37/49 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000872s/0.056768s=1.54%]
- 38/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [0.000860s/0.056768s=1.51%]
- 39/49 . SELECT @@session.sql_mode [0.000839s/0.056768s=1.48%]
- 40/49 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 5 AND `themes_id` = 15 LIMIT 1 [0.000838s/0.056768s=1.48%]
- 41/49 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000826s/0.056768s=1.46%]
- 42/49 . SELECT * FROM `activity` WHERE ( ( 1766421318 > starttime && 1766421318 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000823s/0.056768s=1.45%]
- 43/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000815s/0.056768s=1.44%]
- 44/49 . 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` <= 1766421318
AND pcm.`ends_at` >= 1766421318
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000805s/0.056768s=1.42%]
- 45/49 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.000801s/0.056768s=1.41%]
- 46/49 . set time_zone = '+08:00' [0.000774s/0.056768s=1.36%]
- 47/49 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000752s/0.056768s=1.32%]
- 48/49 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000726s/0.056768s=1.28%]
- 49/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000717s/0.056768s=1.26%]
- 1/5. SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [5 times, 0.004267s/0.056768s=7.52%]
- 2/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` <= 1766421318
AND pcm.`ends_at` >= 1766421318
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [2 times, 0.001691s/0.056768s=2.98%]
- 3/5. SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-星光色' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002391s/0.056768s=4.21%]
- 4/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.002589s/0.056768s=4.56%]
- 5/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001532s/0.056768s=2.70%]