基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-10-28 19:37:10 HTTP/1.1 GET : weigui1229.test3.shoppaas.co/product/apple-iphone-15-a2884-512gb-%25e6%2598%259f%25e5%2585%2589%25e8%2589%25b2.html
- 运行时间 : 0.187815s [ 吞吐率:5.32req/s ] 内存消耗:14,937.11kb 文件加载:358
- 查询信息 : [耗时:0.066452s/0.187815 35.38% ] 36 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=60hts2mf79m7o6022ma0q9v7ks
- [ 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.000241s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'weigui1229.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.158',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'weigui1229.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004052s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000070s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1703820667669:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->view[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/ella/template/product_view.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'global_css',
14 => 'theme_diy_mode',
15 => 'theme_config',
16 => 'icon_image',
17 => 'head_code',
18 => 'end_code',
19 => 'controllername',
20 => 'actionname',
21 => 'user',
22 => 'language',
23 => 'lang',
24 => 'is_rtl_lang',
25 => 'site',
26 => 'config',
27 => 'currency_switch',
28 => 'currency_list',
29 => 'currency_site',
30 => 'currency',
31 => 'cart',
32 => 'subscribing',
33 => 'login',
34 => 'policies',
35 => 'is_mobile',
36 => 'not_show_login',
37 => 'customer_login_status',
38 => 'config_site_version',
39 => 'save_text',
40 => 'product',
41 => 'product_id',
42 => 'product_info',
43 => 'product_customize',
44 => 'pod_products',
45 => 'seotitle',
46 => 'seokeywords',
47 => 'seodescription',
48 => 'page_type',
49 => 'combination_product_info',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003634s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001665s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001658s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001690s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001595s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001199s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.002374s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000067s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ]
- [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000043s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000036s ]
- [ 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.000964s ]
- [ 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.000840s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004177s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000933s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005274s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002413s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001700s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001001s ]
- 1/29 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005274s ] [0.005274s/0.035895s=14.69%]
- 2/29 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004177s ] [0.004177s/0.035895s=11.64%]
- 3/29 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004052s ] [0.004052s/0.035895s=11.29%]
- 4/29 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003634s ] [0.003634s/0.035895s=10.12%]
- 5/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.002413s ] [0.002413s/0.035895s=6.72%]
- 6/29 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.002374s ] [0.002374s/0.035895s=6.61%]
- 7/29 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001700s ] [0.001700s/0.035895s=4.74%]
- 8/29 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001690s ] [0.001690s/0.035895s=4.71%]
- 9/29 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001665s ] [0.001665s/0.035895s=4.64%]
- 10/29 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001658s ] [0.001658s/0.035895s=4.62%]
- 11/29 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001595s ] [0.001595s/0.035895s=4.44%]
- 12/29 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001199s ] [0.001199s/0.035895s=3.34%]
- 13/29 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001001s ] [0.001001s/0.035895s=2.79%]
- 14/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000964s ] [0.000964s/0.035895s=2.69%]
- 15/29 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000933s ] [0.000933s/0.035895s=2.60%]
- 16/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000840s ] [0.000840s/0.035895s=2.34%]
- 17/29 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000241s ] [0.000241s/0.035895s=0.67%]
- 18/29 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000070s ] [0.000070s/0.035895s=0.20%]
- 19/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000067s ] [0.000067s/0.035895s=0.19%]
- 20/29 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ] [0.000054s/0.035895s=0.15%]
- 21/29 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ] [0.000052s/0.035895s=0.14%]
- 22/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ] [0.000046s/0.035895s=0.13%]
- 23/29 . [ BEHAVIOR ] Run addons\marketingsizeguide\Hook @product_view_sku_button [ RunTime:0.000043s ] [0.000043s/0.035895s=0.12%]
- 24/29 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ] [0.000038s/0.035895s=0.11%]
- 25/29 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000036s ] [0.000036s/0.035895s=0.10%]
- 26/29 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ] [0.000034s/0.035895s=0.09%]
- 27/29 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.035895s=0.08%]
- 28/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.035895s=0.03%]
- 29/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ] [0.000005s/0.035895s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002012s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1703820667669;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000958s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001498s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001186s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000944s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001095s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001180s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000812s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000856s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1761651430 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '60hts2mf79m7o6022ma0q9v7ks' AND `createtime` > 1761392230 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001364s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000780s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000896s ]
- [ 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` = '60hts2mf79m7o6022ma0q9v7ks' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001679s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000693s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000945s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001179s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001124s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.003509s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1761651430 > starttime && 1761651430 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000876s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 5 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.003038s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 5 [ RunTime:0.005513s ]
- [ 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.001872s ]
- [ SQL ] SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 5 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002874s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001892s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.002075s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.002081s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.002524s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.001838s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761651430 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001990s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 5 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001749s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001117s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001081s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001195s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001096s ]
- [ 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` <= 1761651430
AND pcm.`ends_at` >= 1761651430
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001311s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001047s ]
- [ 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` <= 1761651430
AND pcm.`ends_at` >= 1761651430
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000953s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761651430 AND `ends_at` >= 1761651430 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.002069s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.002256s ]
- [ 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` FROM `product` WHERE ( `id` = 5 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001078s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 5 and deletetime is null order by createtime desc, id desc [ RunTime:0.001034s ]
- [ SQL ] SELECT `id`,`title` FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001183s ]
- 1/42 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 5 [0.005513s/0.066452s=8.30%]
- 2/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.003509s/0.066452s=5.28%]
- 3/42 . SELECT * FROM `discuss` WHERE ( `product_id` = 5 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.003038s/0.066452s=4.57%]
- 4/42 . SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 5 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.002874s/0.066452s=4.32%]
- 5/42 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.002524s/0.066452s=3.80%]
- 6/42 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.002256s/0.066452s=3.39%]
- 7/42 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.002081s/0.066452s=3.13%]
- 8/42 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.002075s/0.066452s=3.12%]
- 9/42 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761651430 AND `ends_at` >= 1761651430 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.002069s/0.066452s=3.11%]
- 10/42 . CONNECT:[ UseTime:0.002012s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1703820667669;charset=utf8mb4 [0.002012s/0.066452s=3.03%]
- 11/42 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761651430 AND `status` = 'enable' AND `deletetime` IS NULL [0.001990s/0.066452s=2.99%]
- 12/42 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001892s/0.066452s=2.85%]
- 13/42 . 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.001872s/0.066452s=2.82%]
- 14/42 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.001838s/0.066452s=2.77%]
- 15/42 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 5 AND `themes_id` = 15 LIMIT 1 [0.001749s/0.066452s=2.63%]
- 16/42 . 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` = '60hts2mf79m7o6022ma0q9v7ks' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001679s/0.066452s=2.53%]
- 17/42 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001498s/0.066452s=2.25%]
- 18/42 . UPDATE `cart` SET `deletetime`=1761651430 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '60hts2mf79m7o6022ma0q9v7ks' AND `createtime` > 1761392230 ) AND `cart`.`deletetime` IS NULL [0.001364s/0.066452s=2.05%]
- 19/42 . 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` <= 1761651430
AND pcm.`ends_at` >= 1761651430
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001311s/0.066452s=1.97%]
- 20/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001195s/0.066452s=1.80%]
- 21/42 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001186s/0.066452s=1.78%]
- 22/42 . SELECT `id`,`title` FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001183s/0.066452s=1.78%]
- 23/42 . set time_zone = '+08:00' [0.001180s/0.066452s=1.78%]
- 24/42 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001179s/0.066452s=1.77%]
- 25/42 . SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001124s/0.066452s=1.69%]
- 26/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [0.001117s/0.066452s=1.68%]
- 27/42 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001096s/0.066452s=1.65%]
- 28/42 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001095s/0.066452s=1.65%]
- 29/42 . SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001081s/0.066452s=1.63%]
- 30/42 . 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` FROM `product` WHERE ( `id` = 5 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001078s/0.066452s=1.62%]
- 31/42 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [0.001047s/0.066452s=1.58%]
- 32/42 . SELECT *
FROM
discuss
where status='show' and product_id = 5 and deletetime is null order by createtime desc, id desc [0.001034s/0.066452s=1.56%]
- 33/42 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000958s/0.066452s=1.44%]
- 34/42 . 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` <= 1761651430
AND pcm.`ends_at` >= 1761651430
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000953s/0.066452s=1.43%]
- 35/42 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000945s/0.066452s=1.42%]
- 36/42 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000944s/0.066452s=1.42%]
- 37/42 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000896s/0.066452s=1.35%]
- 38/42 . SELECT * FROM `activity` WHERE ( ( 1761651430 > starttime && 1761651430 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000876s/0.066452s=1.32%]
- 39/42 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000856s/0.066452s=1.29%]
- 40/42 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000812s/0.066452s=1.22%]
- 41/42 . SELECT @@session.sql_mode [0.000780s/0.066452s=1.17%]
- 42/42 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000693s/0.066452s=1.04%]
- 1/5. SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1761651430
AND pcm.`ends_at` >= 1761651430
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [2 times, 0.002264s/0.066452s=3.41%]
- 2/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.002164s/0.066452s=3.26%]
- 3/5. SELECT * FROM `product` WHERE ( `path` = 'apple-iphone-15-a2884-512gb-%e6%98%9f%e5%85%89%e8%89%b2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002205s/0.066452s=3.32%]
- 4/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 5 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.004704s/0.066452s=7.08%]
- 5/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001589s/0.066452s=2.39%]