基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-13 18:54:19 HTTP/1.1 GET : fyytiu.saascdn.co/product/123-2.html
- 运行时间 : 0.238113s [ 吞吐率:4.20req/s ] 内存消耗:2,348.77kb 文件加载:301
- 查询信息 : [耗时:0.085671s/0.238113 35.98% ] 48 queries ,5 writes
- 缓存信息 : 20 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=8ntr7dmorv60ege0kg4m0g972q
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000425s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000064s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000089s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'fyytiu.saascdn.co',
'x-forwarded-for' => '216.73.216.141',
'cookie' => 'currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1714857648%2C%22is_default%22%3A1%2C%22sort%22%3A0%7D; PHPSESSID=8ntr7dmorv60ege0kg4m0g972q; currency_code=USD',
'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' => 'fyytiu.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => '123-2',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.007403s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000050s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000132s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698053856472:',
'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/venture/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.004649s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001814s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001803s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001803s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001780s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001438s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000087s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000004s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001734s ]
- [ 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.000632s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003321s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001177s ]
- [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001703s ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_view_bottom [ RunTime:0.003855s ]
- [ VIEW ] /wwwroot/template/venture/../venture/template/product_featured.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.024745s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002005s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001872s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002730s ]
- 1/27 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.024745s ] [0.024745s/0.065463s=37.80%]
- 2/27 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.007403s ] [0.007403s/0.065463s=11.31%]
- 3/27 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.004649s ] [0.004649s/0.065463s=7.10%]
- 4/27 . [ BEHAVIOR ] Run addons\discuss\Hook @product_view_bottom [ RunTime:0.003855s ] [0.003855s/0.065463s=5.89%]
- 5/27 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003321s ] [0.003321s/0.065463s=5.07%]
- 6/27 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002730s ] [0.002730s/0.065463s=4.17%]
- 7/27 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002005s ] [0.002005s/0.065463s=3.06%]
- 8/27 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001872s ] [0.001872s/0.065463s=2.86%]
- 9/27 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001814s ] [0.001814s/0.065463s=2.77%]
- 10/27 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001803s ] [0.001803s/0.065463s=2.75%]
- 11/27 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001803s ] [0.001803s/0.065463s=2.75%]
- 12/27 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001780s ] [0.001780s/0.065463s=2.72%]
- 13/27 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001734s ] [0.001734s/0.065463s=2.65%]
- 14/27 . [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001703s ] [0.001703s/0.065463s=2.60%]
- 15/27 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001438s ] [0.001438s/0.065463s=2.20%]
- 16/27 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001177s ] [0.001177s/0.065463s=1.80%]
- 17/27 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000632s ] [0.000632s/0.065463s=0.97%]
- 18/27 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000425s ] [0.000425s/0.065463s=0.65%]
- 19/27 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000132s ] [0.000132s/0.065463s=0.20%]
- 20/27 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000089s ] [0.000089s/0.065463s=0.14%]
- 21/27 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000087s ] [0.000087s/0.065463s=0.13%]
- 22/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ] [0.000080s/0.065463s=0.12%]
- 23/27 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000064s ] [0.000064s/0.065463s=0.10%]
- 24/27 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000050s ] [0.000050s/0.065463s=0.08%]
- 25/27 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000050s ] [0.000050s/0.065463s=0.08%]
- 26/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ] [0.000018s/0.065463s=0.03%]
- 27/27 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000004s ] [0.000004s/0.065463s=0.01%]
- stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name does not resolve
- #0 [internal function]: think\Error::appError()
#1 /wwwroot/application/admin/service/DomainService.php(96): stream_socket_client()
#2 /wwwroot/application/admin/service/DomainService.php(121): app\admin\service\DomainService::getCertInfo()
#3 /wwwroot/application/common.php(2910): app\admin\service\DomainService::isCertValid()
#4 /wwwroot/application/common.php(2871): get_primary_domain()
#5 /wwwroot/application/common/controller/Frontend.php(394): redirect_domain()
#6 /wwwroot/application/index/controller/Product.php(102): app\common\controller\Frontend->_initialize()
#7 /wwwroot/thinkphp/library/think/Controller.php(59): app\index\controller\Product->_initialize()
#8 [internal function]: think\Controller->__construct()
#9 /wwwroot/thinkphp/library/think/App.php(359): ReflectionClass->newInstanceArgs()
#10 /wwwroot/thinkphp/library/think/Loader.php(479): think\App::invokeClass()
#11 /wwwroot/thinkphp/library/think/App.php(580): think\Loader::controller()
#12 /wwwroot/thinkphp/library/think/App.php(456): think\App::module()
#13 /wwwroot/thinkphp/library/think/App.php(139): think\App::exec()
#14 /wwwroot/public/index.php(26): think\App::run()
#15 {main}
- [ DB ] CONNECT:[ UseTime:0.004709s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698053856472;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000978s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001255s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002602s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001196s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.002075s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001347s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001206s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001084s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765623259 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8ntr7dmorv60ege0kg4m0g972q' AND `createtime` > 1765364059 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001474s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001039s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001056s ]
- [ 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` = '8ntr7dmorv60ege0kg4m0g972q' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001633s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000732s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001136s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001644s ]
- [ SQL ] SELECT `area_id` FROM `access_control_blacklist` [ RunTime:0.001409s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.141' LIMIT 1 [ RunTime:0.001059s ]
- [ SQL ] SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [ RunTime:0.001069s ]
- [ SQL ] SELECT `code` FROM `area` WHERE `id` IN ('') [ RunTime:0.001045s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '123-2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001504s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001036s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765623259 > starttime && 1765623259 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001079s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 2 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001190s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 2 [ RunTime:0.005613s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.002349s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001435s ]
- [ SQL ] SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 2 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001761s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001649s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.002153s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.003113s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.002136s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.001246s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765623259 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001296s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.001293s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '123-2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001692s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001328s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001254s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001008s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001218s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001196s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765623259 AND `ends_at` >= 1765623259 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001220s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001229s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [ RunTime:0.001391s ]
- [ 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` = 2 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001281s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '123-2' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001636s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.000893s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( ( `id` <> 2 AND `id` IN (8,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,1) LIMIT 5 [ RunTime:0.001309s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,1) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001105s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,1) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,1) LIMIT 0,15 [ RunTime:0.001442s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.003189s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001911s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001322s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001446s ]
- 1/54 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 2 [0.005613s/0.085671s=6.55%]
- 2/54 . CONNECT:[ UseTime:0.004709s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698053856472;charset=utf8mb4 [0.004709s/0.085671s=5.50%]
- 3/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,1) ) AND `discuss`.`deletetime` IS NULL [0.003189s/0.085671s=3.72%]
- 4/54 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.003113s/0.085671s=3.63%]
- 5/54 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.002602s/0.085671s=3.04%]
- 6/54 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.002349s/0.085671s=2.74%]
- 7/54 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.002153s/0.085671s=2.51%]
- 8/54 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.002136s/0.085671s=2.49%]
- 9/54 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.002075s/0.085671s=2.42%]
- 10/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001911s/0.085671s=2.23%]
- 11/54 . SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 2 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001761s/0.085671s=2.06%]
- 12/54 . SELECT * FROM `product` WHERE ( `path` = '123-2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001692s/0.085671s=1.97%]
- 13/54 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001649s/0.085671s=1.92%]
- 14/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001644s/0.085671s=1.92%]
- 15/54 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '123-2' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001636s/0.085671s=1.91%]
- 16/54 . 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` = '8ntr7dmorv60ege0kg4m0g972q' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001633s/0.085671s=1.91%]
- 17/54 . SELECT * FROM `product` WHERE ( `path` = '123-2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001504s/0.085671s=1.76%]
- 18/54 . UPDATE `cart` SET `deletetime`=1765623259 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8ntr7dmorv60ege0kg4m0g972q' AND `createtime` > 1765364059 ) AND `cart`.`deletetime` IS NULL [0.001474s/0.085671s=1.72%]
- 19/54 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001446s/0.085671s=1.69%]
- 20/54 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,1) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,1) LIMIT 0,15 [0.001442s/0.085671s=1.68%]
- 21/54 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001435s/0.085671s=1.68%]
- 22/54 . SELECT `area_id` FROM `access_control_blacklist` [0.001409s/0.085671s=1.64%]
- 23/54 . SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [0.001391s/0.085671s=1.62%]
- 24/54 . set time_zone = '+08:00' [0.001347s/0.085671s=1.57%]
- 25/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001328s/0.085671s=1.55%]
- 26/54 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001322s/0.085671s=1.54%]
- 27/54 . SELECT `id` FROM `product` WHERE ( ( `id` <> 2 AND `id` IN (8,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,1) LIMIT 5 [0.001309s/0.085671s=1.53%]
- 28/54 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765623259 AND `status` = 'enable' AND `deletetime` IS NULL [0.001296s/0.085671s=1.51%]
- 29/54 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.001293s/0.085671s=1.51%]
- 30/54 . 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` = 2 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001281s/0.085671s=1.50%]
- 31/54 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001255s/0.085671s=1.46%]
- 32/54 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001254s/0.085671s=1.46%]
- 33/54 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.001246s/0.085671s=1.45%]
- 34/54 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001229s/0.085671s=1.43%]
- 35/54 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765623259 AND `ends_at` >= 1765623259 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001220s/0.085671s=1.42%]
- 36/54 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001218s/0.085671s=1.42%]
- 37/54 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001206s/0.085671s=1.41%]
- 38/54 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001196s/0.085671s=1.40%]
- 39/54 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001196s/0.085671s=1.40%]
- 40/54 . SELECT * FROM `discuss` WHERE ( `product_id` = 2 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001190s/0.085671s=1.39%]
- 41/54 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001136s/0.085671s=1.33%]
- 42/54 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,1) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001105s/0.085671s=1.29%]
- 43/54 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001084s/0.085671s=1.27%]
- 44/54 . SELECT * FROM `activity` WHERE ( ( 1765623259 > starttime && 1765623259 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001079s/0.085671s=1.26%]
- 45/54 . SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [0.001069s/0.085671s=1.25%]
- 46/54 . SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.141' LIMIT 1 [0.001059s/0.085671s=1.24%]
- 47/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001056s/0.085671s=1.23%]
- 48/54 . SELECT `code` FROM `area` WHERE `id` IN ('') [0.001045s/0.085671s=1.22%]
- 49/54 . SELECT @@session.sql_mode [0.001039s/0.085671s=1.21%]
- 50/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001036s/0.085671s=1.21%]
- 51/54 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001008s/0.085671s=1.18%]
- 52/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000978s/0.085671s=1.14%]
- 53/54 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.000893s/0.085671s=1.04%]
- 54/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000732s/0.085671s=0.85%]
- 1/4. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='zh' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.004763s/0.085671s=5.56%]
- 2/4. SELECT * FROM `product` WHERE ( `path` = '123-2' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.003196s/0.085671s=3.73%]
- 3/4. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 2 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002364s/0.085671s=2.76%]
- 4/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001788s/0.085671s=2.09%]