基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-22 05:20:31 HTTP/1.1 GET : liusha001.test3.shoppaas.co/product/5555-2405151738235455.html
- 运行时间 : 0.205373s [ 吞吐率:4.87req/s ] 内存消耗:14,900.09kb 文件加载:368
- 查询信息 : [耗时:0.056944s/0.205373 27.73% ] 44 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=t057qiuoo9agme0p18rrvro6qu
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000489s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000085s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000100s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000141s ]
- [ 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',
'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-2405151738235455',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004713s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000080s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ]
- [ 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.003490s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001766s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001782s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001866s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001683s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001969s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001852s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001153s ]
- [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001056s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001080s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001481s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000085s ]
- [ 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.001131s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000079s ]
- [ 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.000487s ]
- [ 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.000420s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003281s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001097s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005526s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003449s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000078s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001917s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003527s ]
- 1/34 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005526s ] [0.005526s/0.046079s=11.99%]
- 2/34 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004713s ] [0.004713s/0.046079s=10.23%]
- 3/34 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003527s ] [0.003527s/0.046079s=7.65%]
- 4/34 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003490s ] [0.003490s/0.046079s=7.57%]
- 5/34 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003449s ] [0.003449s/0.046079s=7.48%]
- 6/34 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003281s ] [0.003281s/0.046079s=7.12%]
- 7/34 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001969s ] [0.001969s/0.046079s=4.27%]
- 8/34 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001917s ] [0.001917s/0.046079s=4.16%]
- 9/34 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001866s ] [0.001866s/0.046079s=4.05%]
- 10/34 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001852s ] [0.001852s/0.046079s=4.02%]
- 11/34 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001782s ] [0.001782s/0.046079s=3.87%]
- 12/34 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001766s ] [0.001766s/0.046079s=3.83%]
- 13/34 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001683s ] [0.001683s/0.046079s=3.65%]
- 14/34 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001481s ] [0.001481s/0.046079s=3.21%]
- 15/34 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001153s ] [0.001153s/0.046079s=2.50%]
- 16/34 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001131s ] [0.001131s/0.046079s=2.45%]
- 17/34 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001097s ] [0.001097s/0.046079s=2.38%]
- 18/34 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001080s ] [0.001080s/0.046079s=2.34%]
- 19/34 . [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001056s ] [0.001056s/0.046079s=2.29%]
- 20/34 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000489s ] [0.000489s/0.046079s=1.06%]
- 21/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000487s ] [0.000487s/0.046079s=1.06%]
- 22/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000420s ] [0.000420s/0.046079s=0.91%]
- 23/34 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000141s ] [0.000141s/0.046079s=0.31%]
- 24/34 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000100s ] [0.000100s/0.046079s=0.22%]
- 25/34 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ] [0.000088s/0.046079s=0.19%]
- 26/34 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000085s ] [0.000085s/0.046079s=0.18%]
- 27/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000085s ] [0.000085s/0.046079s=0.18%]
- 28/34 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000080s ] [0.000080s/0.046079s=0.17%]
- 29/34 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000079s ] [0.000079s/0.046079s=0.17%]
- 30/34 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000078s ] [0.000078s/0.046079s=0.17%]
- 31/34 . [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000068s ] [0.000068s/0.046079s=0.15%]
- 32/34 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ] [0.000036s/0.046079s=0.08%]
- 33/34 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ] [0.000017s/0.046079s=0.04%]
- 34/34 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000007s ] [0.000007s/0.046079s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002003s ] 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.001011s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001046s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001145s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000999s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001097s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001142s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000886s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000850s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766352031 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 't057qiuoo9agme0p18rrvro6qu' AND `createtime` > 1766092831 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001132s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000708s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000661s ]
- [ 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` = 't057qiuoo9agme0p18rrvro6qu' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001670s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000749s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000857s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001011s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '5555-2405151738235455' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001139s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001192s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766352031 > starttime && 1766352031 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000886s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 3 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001050s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 3 [ RunTime:0.005136s ]
- [ 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.001931s ]
- [ 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` = 3 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001418s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001444s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001012s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001041s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000848s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,3) LIMIT 1 [ RunTime:0.000988s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766352031 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.000875s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 3 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001068s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.000976s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '5555-2405151738235455' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000914s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000967s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000974s ]
- [ 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` <= 1766352031
AND pcm.`ends_at` >= 1766352031
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000853s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001053s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000864s ]
- [ 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` <= 1766352031
AND pcm.`ends_at` >= 1766352031
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001039s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000891s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766352031 AND `ends_at` >= 1766352031 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001031s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001010s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001033s ]
- [ 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` = 3 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001380s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 3 and deletetime is null order by createtime desc, id desc [ RunTime:0.000970s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '5555-2405151738235455' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001005s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.000874s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001096s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000948s ]
- 1/50 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 3 [0.005136s/0.056944s=9.02%]
- 2/50 . CONNECT:[ UseTime:0.002003s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1715247494242;charset=utf8mb4 [0.002003s/0.056944s=3.52%]
- 3/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.001931s/0.056944s=3.39%]
- 4/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` = 't057qiuoo9agme0p18rrvro6qu' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001670s/0.056944s=2.93%]
- 5/50 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001444s/0.056944s=2.54%]
- 6/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` = 3 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001418s/0.056944s=2.49%]
- 7/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` = 3 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001380s/0.056944s=2.42%]
- 8/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001192s/0.056944s=2.09%]
- 9/50 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001145s/0.056944s=2.01%]
- 10/50 . set time_zone = '+08:00' [0.001142s/0.056944s=2.01%]
- 11/50 . SELECT * FROM `product` WHERE ( `path` = '5555-2405151738235455' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001139s/0.056944s=2.00%]
- 12/50 . UPDATE `cart` SET `deletetime`=1766352031 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 't057qiuoo9agme0p18rrvro6qu' AND `createtime` > 1766092831 ) AND `cart`.`deletetime` IS NULL [0.001132s/0.056944s=1.99%]
- 13/50 . SELECT * FROM `product` WHERE ( `path` = '5555-2405151738235455' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001116s/0.056944s=1.96%]
- 14/50 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001097s/0.056944s=1.93%]
- 15/50 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001096s/0.056944s=1.92%]
- 16/50 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 3 AND `themes_id` = 15 LIMIT 1 [0.001068s/0.056944s=1.88%]
- 17/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL [0.001053s/0.056944s=1.85%]
- 18/50 . SELECT * FROM `discuss` WHERE ( `product_id` = 3 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001050s/0.056944s=1.84%]
- 19/50 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001046s/0.056944s=1.84%]
- 20/50 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001041s/0.056944s=1.83%]
- 21/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` <= 1766352031
AND pcm.`ends_at` >= 1766352031
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001039s/0.056944s=1.82%]
- 22/50 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001033s/0.056944s=1.81%]
- 23/50 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766352031 AND `ends_at` >= 1766352031 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001031s/0.056944s=1.81%]
- 24/50 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001012s/0.056944s=1.78%]
- 25/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001011s/0.056944s=1.78%]
- 26/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001011s/0.056944s=1.78%]
- 27/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001010s/0.056944s=1.77%]
- 28/50 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '5555-2405151738235455' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001005s/0.056944s=1.76%]
- 29/50 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000999s/0.056944s=1.75%]
- 30/50 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,3) LIMIT 1 [0.000988s/0.056944s=1.74%]
- 31/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL [0.000976s/0.056944s=1.71%]
- 32/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000974s/0.056944s=1.71%]
- 33/50 . SELECT *
FROM
discuss
where status='show' and product_id = 3 and deletetime is null order by createtime desc, id desc [0.000970s/0.056944s=1.70%]
- 34/50 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000967s/0.056944s=1.70%]
- 35/50 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000955s/0.056944s=1.68%]
- 36/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000948s/0.056944s=1.66%]
- 37/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000914s/0.056944s=1.61%]
- 38/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000891s/0.056944s=1.56%]
- 39/50 . SELECT * FROM `activity` WHERE ( ( 1766352031 > starttime && 1766352031 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000886s/0.056944s=1.56%]
- 40/50 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000886s/0.056944s=1.56%]
- 41/50 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766352031 AND `status` = 'enable' AND `deletetime` IS NULL [0.000875s/0.056944s=1.54%]
- 42/50 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.000874s/0.056944s=1.53%]
- 43/50 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000864s/0.056944s=1.52%]
- 44/50 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000857s/0.056944s=1.50%]
- 45/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` <= 1766352031
AND pcm.`ends_at` >= 1766352031
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000853s/0.056944s=1.50%]
- 46/50 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000850s/0.056944s=1.49%]
- 47/50 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000848s/0.056944s=1.49%]
- 48/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000749s/0.056944s=1.32%]
- 49/50 . SELECT @@session.sql_mode [0.000708s/0.056944s=1.24%]
- 50/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000661s/0.056944s=1.16%]
- 1/6. SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [5 times, 0.004687s/0.056944s=8.23%]
- 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` <= 1766352031
AND pcm.`ends_at` >= 1766352031
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [2 times, 0.001892s/0.056944s=3.32%]
- 3/6. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.002029s/0.056944s=3.56%]
- 4/6. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 3 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002106s/0.056944s=3.70%]
- 5/6. SELECT * FROM `product` WHERE ( `path` = '5555-2405151738235455' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002255s/0.056944s=3.96%]
- 6/6. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.00141s/0.056944s=2.48%]