基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-22 16:29:33 HTTP/1.1 GET : fyi01.test3.shoppaas.co/product/%e5%95%86%e5%93%812-2310311718283658-2311151509034479
- 运行时间 : 0.262927s [ 吞吐率:3.80req/s ] 内存消耗:2,753.04kb 文件加载:308
- 查询信息 : [耗时:0.093848s/0.262927 35.69% ] 57 queries ,5 writes
- 缓存信息 : 11 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=b9nn7fk5vh1b7cqn7iflcjl95a
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000942s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000066s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000094s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'fyi01.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.152',
'referer' => 'http://fyi01.test3.shoppaas.co/product/%e5%95%86%e5%93%812-2310311718283658-2311151509034479',
'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' => 'fyi01.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => '商品2-2310311718283658-2311151509034479',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005321s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000113s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000113s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698665395604:',
'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/brooklyn-playful/template/product_view.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'save_text',
39 => 'product',
40 => 'product_id',
41 => 'product_info',
42 => 'product_customize',
43 => 'pod_products',
44 => 'seotitle',
45 => 'seokeywords',
46 => 'seodescription',
47 => 'page_type',
48 => 'combination_product_info',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.001231s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002774s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001709s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001700s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001814s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001668s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001780s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001871s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.004670s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000200s ]
- [ VIEW ] /wwwroot/addons/productcustom/view/product_custom.html [ array (
0 => 'data',
) ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.008679s ]
- [ 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.000459s ]
- [ 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.000437s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.005412s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001195s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000009s ]
- [ VIEW ] /wwwroot/addons/aftersaleshow/view/aftersale_show.html [ array (
0 => 'after_sales_information',
1 => 'position',
) ]
- [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001601s ]
- [ VIEW ] /wwwroot/addons/aftersaleshow/view/aftersale_show.html [ array (
0 => 'after_sales_information',
1 => 'position',
) ]
- [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001460s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power_waterfall.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.014611s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.005374s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001732s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001695s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.004485s ]
- 1/32 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.014611s ] [0.014611s/0.073348s=19.92%]
- 2/32 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.008679s ] [0.008679s/0.073348s=11.83%]
- 3/32 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.005412s ] [0.005412s/0.073348s=7.38%]
- 4/32 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.005374s ] [0.005374s/0.073348s=7.33%]
- 5/32 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005321s ] [0.005321s/0.073348s=7.25%]
- 6/32 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.004670s ] [0.004670s/0.073348s=6.37%]
- 7/32 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.004485s ] [0.004485s/0.073348s=6.11%]
- 8/32 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002774s ] [0.002774s/0.073348s=3.78%]
- 9/32 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001871s ] [0.001871s/0.073348s=2.55%]
- 10/32 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001814s ] [0.001814s/0.073348s=2.47%]
- 11/32 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001780s ] [0.001780s/0.073348s=2.43%]
- 12/32 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001732s ] [0.001732s/0.073348s=2.36%]
- 13/32 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001709s ] [0.001709s/0.073348s=2.33%]
- 14/32 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001700s ] [0.001700s/0.073348s=2.32%]
- 15/32 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001695s ] [0.001695s/0.073348s=2.31%]
- 16/32 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001668s ] [0.001668s/0.073348s=2.27%]
- 17/32 . [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001601s ] [0.001601s/0.073348s=2.18%]
- 18/32 . [ BEHAVIOR ] Run addons\aftersaleshow\Hook @aftersale_show [ RunTime:0.001460s ] [0.001460s/0.073348s=1.99%]
- 19/32 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.001231s ] [0.001231s/0.073348s=1.68%]
- 20/32 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001195s ] [0.001195s/0.073348s=1.63%]
- 21/32 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000942s ] [0.000942s/0.073348s=1.28%]
- 22/32 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000459s ] [0.000459s/0.073348s=0.63%]
- 23/32 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000437s ] [0.000437s/0.073348s=0.60%]
- 24/32 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000200s ] [0.000200s/0.073348s=0.27%]
- 25/32 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000113s ] [0.000113s/0.073348s=0.15%]
- 26/32 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000113s ] [0.000113s/0.073348s=0.15%]
- 27/32 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000094s ] [0.000094s/0.073348s=0.13%]
- 28/32 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ] [0.000079s/0.073348s=0.11%]
- 29/32 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000066s ] [0.000066s/0.073348s=0.09%]
- 30/32 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ] [0.000038s/0.073348s=0.05%]
- 31/32 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ] [0.000016s/0.073348s=0.02%]
- 32/32 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000009s ] [0.000009s/0.073348s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.011338s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698665395604;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000919s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001006s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001175s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000904s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001010s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000771s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000804s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000855s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766392173 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'b9nn7fk5vh1b7cqn7iflcjl95a' AND `createtime` > 1766132973 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001151s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000711s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000589s ]
- [ 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` = 'b9nn7fk5vh1b7cqn7iflcjl95a' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001640s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000600s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001312s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001007s ]
- [ SQL ] SELECT `area_id` FROM `access_control_blacklist` [ RunTime:0.000757s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.152' LIMIT 1 [ RunTime:0.000944s ]
- [ SQL ] SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [ RunTime:0.000733s ]
- [ SQL ] SELECT `code` FROM `area` WHERE `id` IN ('') [ RunTime:0.000712s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '商品2-2310311718283658-2311151509034479' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001462s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '%E5%95%86%E5%93%812-2310311718283658-2311151509034479' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000958s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000947s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766392173 > starttime && 1766392173 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001080s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.000737s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001254s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [ RunTime:0.005082s ]
- [ 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.002473s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.000840s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [ RunTime:0.000888s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001100s ]
- [ 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` = 4 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001224s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.000732s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [ RunTime:0.000676s ]
- [ SQL ] SELECT * FROM `custom_activity` WHERE `id` = 15 LIMIT 1 [ RunTime:0.001211s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001453s ]
- [ SQL ] SELECT * FROM `custom_activity` WHERE `id` = 15 LIMIT 1 [ RunTime:0.000889s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000722s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1,2) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001275s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.000897s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000751s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.000676s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766392173 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001236s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.001025s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '商品2-2310311718283658-2311151509034479' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000975s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001702s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000876s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001127s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1cd52f75cfb69b8a/53eeb20e13340d5745bd1b52024ccac8.jpg' LIMIT 1 [ RunTime:0.000957s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1cd52f75cfb69b8a/3aa9c240c39006f32e23fd214644bab4.png' LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1cd52f75cfb69b8a/002ffbdb5e4f83eec473426470f9ced8.png' LIMIT 1 [ RunTime:0.002258s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766392173 AND `ends_at` >= 1766392173 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.004026s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.002210s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001801s ]
- [ 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` <= 1766392173
AND pcm.`ends_at` >= 1766392173
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.003033s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [ RunTime:0.000920s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [ RunTime:0.000849s ]
- [ 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` = 4 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.003234s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001761s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [ RunTime:0.002554s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 4 and deletetime is null order by createtime desc, id desc [ RunTime:0.001141s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '商品2-2310311718283658-2311151509034479' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.004004s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000985s ]
- 1/63 . CONNECT:[ UseTime:0.011338s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698665395604;charset=utf8mb4 [0.011338s/0.093848s=12.08%]
- 2/63 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [0.005082s/0.093848s=5.42%]
- 3/63 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766392173 AND `ends_at` >= 1766392173 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.004026s/0.093848s=4.29%]
- 4/63 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '商品2-2310311718283658-2311151509034479' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.004004s/0.093848s=4.27%]
- 5/63 . 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` = 4 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.003234s/0.093848s=3.45%]
- 6/63 . 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` <= 1766392173
AND pcm.`ends_at` >= 1766392173
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.003033s/0.093848s=3.23%]
- 7/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [0.002554s/0.093848s=2.72%]
- 8/63 . 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.002473s/0.093848s=2.64%]
- 9/63 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1cd52f75cfb69b8a/002ffbdb5e4f83eec473426470f9ced8.png' LIMIT 1 [0.002258s/0.093848s=2.41%]
- 10/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.002210s/0.093848s=2.35%]
- 11/63 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001801s/0.093848s=1.92%]
- 12/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001761s/0.093848s=1.88%]
- 13/63 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001702s/0.093848s=1.81%]
- 14/63 . 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` = 'b9nn7fk5vh1b7cqn7iflcjl95a' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001640s/0.093848s=1.75%]
- 15/63 . SELECT * FROM `product` WHERE ( `path` = '商品2-2310311718283658-2311151509034479' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001462s/0.093848s=1.56%]
- 16/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001453s/0.093848s=1.55%]
- 17/63 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001312s/0.093848s=1.40%]
- 18/63 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1,2) ) AND `shipping_express`.`deletetime` IS NULL [0.001275s/0.093848s=1.36%]
- 19/63 . SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001254s/0.093848s=1.34%]
- 20/63 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766392173 AND `status` = 'enable' AND `deletetime` IS NULL [0.001236s/0.093848s=1.32%]
- 21/63 . 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` = 4 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001224s/0.093848s=1.30%]
- 22/63 . SELECT * FROM `custom_activity` WHERE `id` = 15 LIMIT 1 [0.001211s/0.093848s=1.29%]
- 23/63 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001175s/0.093848s=1.25%]
- 24/63 . UPDATE `cart` SET `deletetime`=1766392173 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'b9nn7fk5vh1b7cqn7iflcjl95a' AND `createtime` > 1766132973 ) AND `cart`.`deletetime` IS NULL [0.001151s/0.093848s=1.23%]
- 25/63 . SELECT *
FROM
discuss
where status='show' and product_id = 4 and deletetime is null order by createtime desc, id desc [0.001141s/0.093848s=1.22%]
- 26/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001127s/0.093848s=1.20%]
- 27/63 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001100s/0.093848s=1.17%]
- 28/63 . SELECT * FROM `activity` WHERE ( ( 1766392173 > starttime && 1766392173 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001080s/0.093848s=1.15%]
- 29/63 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.001025s/0.093848s=1.09%]
- 30/63 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001010s/0.093848s=1.08%]
- 31/63 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001007s/0.093848s=1.07%]
- 32/63 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001006s/0.093848s=1.07%]
- 33/63 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.000985s/0.093848s=1.05%]
- 34/63 . SELECT * FROM `product` WHERE ( `path` = '商品2-2310311718283658-2311151509034479' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000975s/0.093848s=1.04%]
- 35/63 . SELECT * FROM `product` WHERE ( `path` = '%E5%95%86%E5%93%812-2310311718283658-2311151509034479' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000958s/0.093848s=1.02%]
- 36/63 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1cd52f75cfb69b8a/53eeb20e13340d5745bd1b52024ccac8.jpg' LIMIT 1 [0.000957s/0.093848s=1.02%]
- 37/63 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000947s/0.093848s=1.01%]
- 38/63 . SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.152' LIMIT 1 [0.000944s/0.093848s=1.01%]
- 39/63 . SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [0.000920s/0.093848s=0.98%]
- 40/63 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000919s/0.093848s=0.98%]
- 41/63 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1cd52f75cfb69b8a/3aa9c240c39006f32e23fd214644bab4.png' LIMIT 1 [0.000909s/0.093848s=0.97%]
- 42/63 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000904s/0.093848s=0.96%]
- 43/63 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.000897s/0.093848s=0.96%]
- 44/63 . SELECT * FROM `custom_activity` WHERE `id` = 15 LIMIT 1 [0.000889s/0.093848s=0.95%]
- 45/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [0.000888s/0.093848s=0.95%]
- 46/63 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000876s/0.093848s=0.93%]
- 47/63 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000855s/0.093848s=0.91%]
- 48/63 . SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [0.000849s/0.093848s=0.90%]
- 49/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.000840s/0.093848s=0.90%]
- 50/63 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000804s/0.093848s=0.86%]
- 51/63 . set time_zone = '+08:00' [0.000771s/0.093848s=0.82%]
- 52/63 . SELECT `area_id` FROM `access_control_blacklist` [0.000757s/0.093848s=0.81%]
- 53/63 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000751s/0.093848s=0.80%]
- 54/63 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000737s/0.093848s=0.79%]
- 55/63 . SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [0.000733s/0.093848s=0.78%]
- 56/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.000732s/0.093848s=0.78%]
- 57/63 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000722s/0.093848s=0.77%]
- 58/63 . SELECT `code` FROM `area` WHERE `id` IN ('') [0.000712s/0.093848s=0.76%]
- 59/63 . SELECT @@session.sql_mode [0.000711s/0.093848s=0.76%]
- 60/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [0.000676s/0.093848s=0.72%]
- 61/63 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.000676s/0.093848s=0.72%]
- 62/63 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000600s/0.093848s=0.64%]
- 63/63 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000589s/0.093848s=0.63%]
- 1/6. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [6 times, 0.008123s/0.093848s=8.66%]
- 2/6. SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [3 times, 0.004118s/0.093848s=4.39%]
- 3/6. SELECT `value` FROM `config` WHERE `name` = 'after_sales_information' LIMIT 1 [2 times, 0.001769s/0.093848s=1.88%]
- 4/6. SELECT * FROM `custom_activity` WHERE `id` = 15 LIMIT 1 [2 times, 0.0021s/0.093848s=2.24%]
- 5/6. SELECT * FROM `product` WHERE ( `path` = '商品2-2310311718283658-2311151509034479' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002437s/0.093848s=2.60%]
- 6/6. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001189s/0.093848s=1.27%]