基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-22 18:33:53 HTTP/1.1 GET : zxcustom1.test3.shoppaas.co/product/custom-halloween-mum-t-shirt.html
- 运行时间 : 0.524988s [ 吞吐率:1.90req/s ] 内存消耗:22,517.44kb 文件加载:356
- 查询信息 : [耗时:0.069557s/0.524988 13.25% ] 61 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=gph8o1jq6u5268auljf24ka3i7
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000251s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxcustom1.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' => 'zxcustom1.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'custom-halloween-mum-t-shirt',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006225s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000030s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000072s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1718160946437:',
'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.003433s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001701s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001626s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001626s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001669s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001584s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001674s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.000988s ]
- [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.000912s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001323s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001333s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000857s ]
- [ VIEW ] /wwwroot/addons/productcustom/view/product_custom.html [ array (
0 => 'data',
) ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.002455s ]
- [ 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.000951s ]
- [ 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.000785s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003040s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001034s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.007097s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002966s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000052s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001655s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003112s ]
- 1/33 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.007097s ] [0.007097s/0.048689s=14.58%]
- 2/33 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006225s ] [0.006225s/0.048689s=12.79%]
- 3/33 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003433s ] [0.003433s/0.048689s=7.05%]
- 4/33 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003112s ] [0.003112s/0.048689s=6.39%]
- 5/33 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003040s ] [0.003040s/0.048689s=6.24%]
- 6/33 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002966s ] [0.002966s/0.048689s=6.09%]
- 7/33 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.002455s ] [0.002455s/0.048689s=5.04%]
- 8/33 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001701s ] [0.001701s/0.048689s=3.49%]
- 9/33 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001674s ] [0.001674s/0.048689s=3.44%]
- 10/33 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001669s ] [0.001669s/0.048689s=3.43%]
- 11/33 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001655s ] [0.001655s/0.048689s=3.40%]
- 12/33 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001626s ] [0.001626s/0.048689s=3.34%]
- 13/33 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001626s ] [0.001626s/0.048689s=3.34%]
- 14/33 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001584s ] [0.001584s/0.048689s=3.25%]
- 15/33 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001333s ] [0.001333s/0.048689s=2.74%]
- 16/33 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001323s ] [0.001323s/0.048689s=2.72%]
- 17/33 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001034s ] [0.001034s/0.048689s=2.12%]
- 18/33 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.000988s ] [0.000988s/0.048689s=2.03%]
- 19/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000951s ] [0.000951s/0.048689s=1.95%]
- 20/33 . [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.000912s ] [0.000912s/0.048689s=1.87%]
- 21/33 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000857s ] [0.000857s/0.048689s=1.76%]
- 22/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000785s ] [0.000785s/0.048689s=1.61%]
- 23/33 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000251s ] [0.000251s/0.048689s=0.52%]
- 24/33 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000072s ] [0.000072s/0.048689s=0.15%]
- 25/33 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ] [0.000054s/0.048689s=0.11%]
- 26/33 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000052s ] [0.000052s/0.048689s=0.11%]
- 27/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000050s ] [0.000050s/0.048689s=0.10%]
- 28/33 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ] [0.000046s/0.048689s=0.09%]
- 29/33 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ] [0.000036s/0.048689s=0.07%]
- 30/33 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ] [0.000035s/0.048689s=0.07%]
- 31/33 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000030s ] [0.000030s/0.048689s=0.06%]
- 32/33 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.048689s=0.02%]
- 33/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ] [0.000005s/0.048689s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.005102s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718160946437;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000890s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000895s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.001119s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001111s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000945s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000777s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000942s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000823s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000679s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766399633 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gph8o1jq6u5268auljf24ka3i7' AND `createtime` > 1766140433 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001027s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000690s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000727s ]
- [ 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` = 'gph8o1jq6u5268auljf24ka3i7' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001351s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000592s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000739s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000873s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'custom-halloween-mum-t-shirt' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000879s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000993s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766399633 > starttime && 1766399633 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000763s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 1 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000795s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 1 [ RunTime:0.004977s ]
- [ 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.002073s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000859s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [ RunTime:0.000754s ]
- [ 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.000786s ]
- [ 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.001002s ]
- [ SQL ] SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 1 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000854s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000820s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [ RunTime:0.000713s ]
- [ SQL ] SELECT * FROM `custom_activity` WHERE `id` = 62 LIMIT 1 [ RunTime:0.000938s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000734s ]
- [ SQL ] SELECT * FROM `custom_activity` WHERE `id` = 62 LIMIT 1 [ RunTime:0.000806s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000767s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001062s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.000975s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000687s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (3,4) LIMIT 1 [ RunTime:0.001012s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766399633 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.000814s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000893s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000915s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'custom-halloween-mum-t-shirt' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001112s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000898s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000886s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000914s ]
- [ 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` <= 1766399633
AND pcm.`ends_at` >= 1766399633
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000809s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000939s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000789s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.000970s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161304232.webp' LIMIT 1 [ RunTime:0.001007s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161304559.webp' LIMIT 1 [ RunTime:0.001053s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161304350.webp' LIMIT 1 [ RunTime:0.001201s ]
- [ 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` <= 1766399633
AND pcm.`ends_at` >= 1766399633
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001124s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001099s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766399633 AND `ends_at` >= 1766399633 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.000998s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000768s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000898s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001014s ]
- [ 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` = 1 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001173s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000752s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [ RunTime:0.000775s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 1 and deletetime is null order by createtime desc, id desc [ RunTime:0.000909s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'custom-halloween-mum-t-shirt' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000857s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.000772s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000892s ]
- 1/67 . CONNECT:[ UseTime:0.005102s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718160946437;charset=utf8mb4 [0.005102s/0.069557s=7.33%]
- 2/67 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 1 [0.004977s/0.069557s=7.16%]
- 3/67 . 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.002073s/0.069557s=2.98%]
- 4/67 . 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` = 'gph8o1jq6u5268auljf24ka3i7' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001351s/0.069557s=1.94%]
- 5/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161304350.webp' LIMIT 1 [0.001201s/0.069557s=1.73%]
- 6/67 . 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` = 1 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001173s/0.069557s=1.69%]
- 7/67 . 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` <= 1766399633
AND pcm.`ends_at` >= 1766399633
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001124s/0.069557s=1.62%]
- 8/67 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001119s/0.069557s=1.61%]
- 9/67 . SELECT * FROM `product` WHERE ( `path` = 'custom-halloween-mum-t-shirt' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001112s/0.069557s=1.60%]
- 10/67 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001111s/0.069557s=1.60%]
- 11/67 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001099s/0.069557s=1.58%]
- 12/67 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001062s/0.069557s=1.53%]
- 13/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161304559.webp' LIMIT 1 [0.001053s/0.069557s=1.51%]
- 14/67 . UPDATE `cart` SET `deletetime`=1766399633 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gph8o1jq6u5268auljf24ka3i7' AND `createtime` > 1766140433 ) AND `cart`.`deletetime` IS NULL [0.001027s/0.069557s=1.48%]
- 15/67 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001017s/0.069557s=1.46%]
- 16/67 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001014s/0.069557s=1.46%]
- 17/67 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (3,4) LIMIT 1 [0.001012s/0.069557s=1.45%]
- 18/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161304232.webp' LIMIT 1 [0.001007s/0.069557s=1.45%]
- 19/67 . 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.001002s/0.069557s=1.44%]
- 20/67 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1766399633 AND `ends_at` >= 1766399633 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.000998s/0.069557s=1.43%]
- 21/67 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000993s/0.069557s=1.43%]
- 22/67 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.000975s/0.069557s=1.40%]
- 23/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.000970s/0.069557s=1.39%]
- 24/67 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000945s/0.069557s=1.36%]
- 25/67 . set time_zone = '+08:00' [0.000942s/0.069557s=1.35%]
- 26/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000939s/0.069557s=1.35%]
- 27/67 . SELECT * FROM `custom_activity` WHERE `id` = 62 LIMIT 1 [0.000938s/0.069557s=1.35%]
- 28/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000915s/0.069557s=1.32%]
- 29/67 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000914s/0.069557s=1.31%]
- 30/67 . SELECT *
FROM
discuss
where status='show' and product_id = 1 and deletetime is null order by createtime desc, id desc [0.000909s/0.069557s=1.31%]
- 31/67 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000898s/0.069557s=1.29%]
- 32/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000898s/0.069557s=1.29%]
- 33/67 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.000895s/0.069557s=1.29%]
- 34/67 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000893s/0.069557s=1.28%]
- 35/67 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000892s/0.069557s=1.28%]
- 36/67 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000890s/0.069557s=1.28%]
- 37/67 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000886s/0.069557s=1.27%]
- 38/67 . SELECT * FROM `product` WHERE ( `path` = 'custom-halloween-mum-t-shirt' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000879s/0.069557s=1.26%]
- 39/67 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000873s/0.069557s=1.26%]
- 40/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000859s/0.069557s=1.23%]
- 41/67 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'custom-halloween-mum-t-shirt' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000857s/0.069557s=1.23%]
- 42/67 . SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 1 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.000854s/0.069557s=1.23%]
- 43/67 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000823s/0.069557s=1.18%]
- 44/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000820s/0.069557s=1.18%]
- 45/67 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1766399633 AND `status` = 'enable' AND `deletetime` IS NULL [0.000814s/0.069557s=1.17%]
- 46/67 . 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` <= 1766399633
AND pcm.`ends_at` >= 1766399633
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000809s/0.069557s=1.16%]
- 47/67 . SELECT * FROM `custom_activity` WHERE `id` = 62 LIMIT 1 [0.000806s/0.069557s=1.16%]
- 48/67 . SELECT * FROM `discuss` WHERE ( `product_id` = 1 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000795s/0.069557s=1.14%]
- 49/67 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000789s/0.069557s=1.13%]
- 50/67 . 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.000786s/0.069557s=1.13%]
- 51/67 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.000778s/0.069557s=1.12%]
- 52/67 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000777s/0.069557s=1.12%]
- 53/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [0.000775s/0.069557s=1.11%]
- 54/67 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.000772s/0.069557s=1.11%]
- 55/67 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000768s/0.069557s=1.10%]
- 56/67 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000767s/0.069557s=1.10%]
- 57/67 . SELECT * FROM `activity` WHERE ( ( 1766399633 > starttime && 1766399633 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000763s/0.069557s=1.10%]
- 58/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [0.000754s/0.069557s=1.08%]
- 59/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000752s/0.069557s=1.08%]
- 60/67 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000739s/0.069557s=1.06%]
- 61/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000734s/0.069557s=1.06%]
- 62/67 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000727s/0.069557s=1.05%]
- 63/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [0.000713s/0.069557s=1.03%]
- 64/67 . SELECT @@session.sql_mode [0.000690s/0.069557s=0.99%]
- 65/67 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000687s/0.069557s=0.99%]
- 66/67 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000679s/0.069557s=0.98%]
- 67/67 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000592s/0.069557s=0.85%]
- 1/9. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [7 times, 0.005917s/0.069557s=8.51%]
- 2/9. SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [5 times, 0.004462s/0.069557s=6.41%]
- 3/9. SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [3 times, 0.002242s/0.069557s=3.22%]
- 4/9. 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 [3 times, 0.003861s/0.069557s=5.55%]
- 5/9. 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` <= 1766399633
AND pcm.`ends_at` >= 1766399633
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [2 times, 0.001933s/0.069557s=2.78%]
- 6/9. SELECT * FROM `custom_activity` WHERE `id` = 62 LIMIT 1 [2 times, 0.001744s/0.069557s=2.51%]
- 7/9. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 1 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.001891s/0.069557s=2.72%]
- 8/9. SELECT * FROM `product` WHERE ( `path` = 'custom-halloween-mum-t-shirt' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.001991s/0.069557s=2.86%]
- 9/9. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001319s/0.069557s=1.90%]