基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-22 15:09:16 HTTP/1.1 GET : liusha001.test3.shoppaas.co/product/5555
- 运行时间 : 0.250310s [ 吞吐率:4.00req/s ] 内存消耗:14,899.93kb 文件加载:368
- 查询信息 : [耗时:0.060758s/0.250310 24.27% ] 44 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=0jpf9q5srcl86ekbkeg08ee8h8
- [ 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.000395s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000064s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000078s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.001173s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'liusha001.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.152',
'referer' => 'http://liusha001.test3.shoppaas.co/product/5555',
'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' => 'liusha001.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => '5555',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005745s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000040s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000092s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1715247494242:',
'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.003676s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001905s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001826s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001766s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001769s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001852s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001882s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001121s ]
- [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.000911s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000903s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.002482s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000073s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000007s ]
- [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000072s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000901s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000062s ]
- [ 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.001055s ]
- [ 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.001090s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004443s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.002137s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005448s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003452s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000075s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.003813s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003224s ]
- 1/34 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005745s ] [0.005745s/0.053573s=10.72%]
- 2/34 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005448s ] [0.005448s/0.053573s=10.17%]
- 3/34 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004443s ] [0.004443s/0.053573s=8.29%]
- 4/34 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.003813s ] [0.003813s/0.053573s=7.12%]
- 5/34 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003676s ] [0.003676s/0.053573s=6.86%]
- 6/34 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003452s ] [0.003452s/0.053573s=6.44%]
- 7/34 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003224s ] [0.003224s/0.053573s=6.02%]
- 8/34 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.002482s ] [0.002482s/0.053573s=4.63%]
- 9/34 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.002137s ] [0.002137s/0.053573s=3.99%]
- 10/34 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001905s ] [0.001905s/0.053573s=3.56%]
- 11/34 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001882s ] [0.001882s/0.053573s=3.51%]
- 12/34 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001852s ] [0.001852s/0.053573s=3.46%]
- 13/34 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001826s ] [0.001826s/0.053573s=3.41%]
- 14/34 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001769s ] [0.001769s/0.053573s=3.30%]
- 15/34 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001766s ] [0.001766s/0.053573s=3.30%]
- 16/34 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.001173s ] [0.001173s/0.053573s=2.19%]
- 17/34 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001121s ] [0.001121s/0.053573s=2.09%]
- 18/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.001090s ] [0.001090s/0.053573s=2.03%]
- 19/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.001055s ] [0.001055s/0.053573s=1.97%]
- 20/34 . [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.000911s ] [0.000911s/0.053573s=1.70%]
- 21/34 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000903s ] [0.000903s/0.053573s=1.69%]
- 22/34 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000901s ] [0.000901s/0.053573s=1.68%]
- 23/34 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000395s ] [0.000395s/0.053573s=0.74%]
- 24/34 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000092s ] [0.000092s/0.053573s=0.17%]
- 25/34 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000078s ] [0.000078s/0.053573s=0.15%]
- 26/34 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000075s ] [0.000075s/0.053573s=0.14%]
- 27/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000073s ] [0.000073s/0.053573s=0.14%]
- 28/34 . [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000072s ] [0.000072s/0.053573s=0.13%]
- 29/34 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000064s ] [0.000064s/0.053573s=0.12%]
- 30/34 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000062s ] [0.000062s/0.053573s=0.12%]
- 31/34 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000040s ] [0.000040s/0.053573s=0.07%]
- 32/34 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.053573s=0.05%]
- 33/34 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.053573s=0.02%]
- 34/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000007s ] [0.000007s/0.053573s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002380s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1715247494242;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000934s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000969s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000983s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000749s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001119s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000732s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000863s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000868s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766387356 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '0jpf9q5srcl86ekbkeg08ee8h8' AND `createtime` > 1766128156 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001354s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000660s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000537s ]
- [ 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` = '0jpf9q5srcl86ekbkeg08ee8h8' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001516s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000543s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000776s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000944s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '5555' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001117s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001094s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766387356 > starttime && 1766387356 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000815s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 2 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001035s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 2 [ RunTime:0.005090s ]
- [ 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.001883s ]
- [ 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` = 2 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001881s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001729s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001839s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.002502s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000739s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,3) LIMIT 1 [ RunTime:0.000813s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766387356 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.000847s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 2 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001944s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000906s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001127s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '5555' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001208s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000965s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000993s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000905s ]
- [ 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` <= 1766387356
AND pcm.`ends_at` >= 1766387356
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001152s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.000798s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000785s ]
- [ 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` <= 1766387356
AND pcm.`ends_at` >= 1766387356
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000798s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766387356 AND `ends_at` >= 1766387356 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.002068s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000798s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.002270s ]
- [ 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` = 2 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001309s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 2 and deletetime is null order by createtime desc, id desc [ RunTime:0.000929s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '5555' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001093s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.000794s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000752s ]
- 1/50 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 2 [0.005090s/0.060758s=8.38%]
- 2/50 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.002502s/0.060758s=4.12%]
- 3/50 . CONNECT:[ UseTime:0.002380s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1715247494242;charset=utf8mb4 [0.002380s/0.060758s=3.92%]
- 4/50 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.002270s/0.060758s=3.74%]
- 5/50 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766387356 AND `ends_at` >= 1766387356 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.002068s/0.060758s=3.40%]
- 6/50 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 2 AND `themes_id` = 15 LIMIT 1 [0.001944s/0.060758s=3.20%]
- 7/50 . 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.001883s/0.060758s=3.10%]
- 8/50 . 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` = 2 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001881s/0.060758s=3.10%]
- 9/50 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001839s/0.060758s=3.03%]
- 10/50 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001729s/0.060758s=2.85%]
- 11/50 . 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` = '0jpf9q5srcl86ekbkeg08ee8h8' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001516s/0.060758s=2.50%]
- 12/50 . UPDATE `cart` SET `deletetime`=1766387356 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '0jpf9q5srcl86ekbkeg08ee8h8' AND `createtime` > 1766128156 ) AND `cart`.`deletetime` IS NULL [0.001354s/0.060758s=2.23%]
- 13/50 . 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` = 2 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001309s/0.060758s=2.15%]
- 14/50 . SELECT * FROM `product` WHERE ( `path` = '5555' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001208s/0.060758s=1.99%]
- 15/50 . 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` <= 1766387356
AND pcm.`ends_at` >= 1766387356
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001152s/0.060758s=1.90%]
- 16/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL [0.001127s/0.060758s=1.85%]
- 17/50 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001119s/0.060758s=1.84%]
- 18/50 . SELECT * FROM `product` WHERE ( `path` = '5555' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001117s/0.060758s=1.84%]
- 19/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001094s/0.060758s=1.80%]
- 20/50 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '5555' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001093s/0.060758s=1.80%]
- 21/50 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001075s/0.060758s=1.77%]
- 22/50 . SELECT * FROM `discuss` WHERE ( `product_id` = 2 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001035s/0.060758s=1.70%]
- 23/50 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000993s/0.060758s=1.63%]
- 24/50 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000983s/0.060758s=1.62%]
- 25/50 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.000969s/0.060758s=1.59%]
- 26/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000965s/0.060758s=1.59%]
- 27/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000944s/0.060758s=1.55%]
- 28/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000934s/0.060758s=1.54%]
- 29/50 . SELECT *
FROM
discuss
where status='show' and product_id = 2 and deletetime is null order by createtime desc, id desc [0.000929s/0.060758s=1.53%]
- 30/50 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000906s/0.060758s=1.49%]
- 31/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000905s/0.060758s=1.49%]
- 32/50 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000868s/0.060758s=1.43%]
- 33/50 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000863s/0.060758s=1.42%]
- 34/50 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766387356 AND `status` = 'enable' AND `deletetime` IS NULL [0.000847s/0.060758s=1.39%]
- 35/50 . SELECT * FROM `activity` WHERE ( ( 1766387356 > starttime && 1766387356 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000815s/0.060758s=1.34%]
- 36/50 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,3) LIMIT 1 [0.000813s/0.060758s=1.34%]
- 37/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL [0.000798s/0.060758s=1.31%]
- 38/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000798s/0.060758s=1.31%]
- 39/50 . 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` <= 1766387356
AND pcm.`ends_at` >= 1766387356
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000798s/0.060758s=1.31%]
- 40/50 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.000794s/0.060758s=1.31%]
- 41/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000785s/0.060758s=1.29%]
- 42/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000778s/0.060758s=1.28%]
- 43/50 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000776s/0.060758s=1.28%]
- 44/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000752s/0.060758s=1.24%]
- 45/50 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000749s/0.060758s=1.23%]
- 46/50 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000739s/0.060758s=1.22%]
- 47/50 . set time_zone = '+08:00' [0.000732s/0.060758s=1.20%]
- 48/50 . SELECT @@session.sql_mode [0.000660s/0.060758s=1.09%]
- 49/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000543s/0.060758s=0.89%]
- 50/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000537s/0.060758s=0.88%]
- 1/6. SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [5 times, 0.004018s/0.060758s=6.61%]
- 2/6. 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` <= 1766387356
AND pcm.`ends_at` >= 1766387356
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [2 times, 0.00195s/0.060758s=3.21%]
- 3/6. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.001925s/0.060758s=3.17%]
- 4/6. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002059s/0.060758s=3.39%]
- 5/6. SELECT * FROM `product` WHERE ( `path` = '5555' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002325s/0.060758s=3.83%]
- 6/6. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.00108s/0.060758s=1.78%]