基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-13 18:54:23 HTTP/1.1 GET : fyytiu.saascdn.co/product/123-2-2311021042484110-2311021042549102-2311021043006274.html
- 运行时间 : 0.220379s [ 吞吐率:4.54req/s ] 内存消耗:2,349.55kb 文件加载:301
- 查询信息 : [耗时:0.082496s/0.220379 37.43% ] 48 queries ,5 writes
- 缓存信息 : 20 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=u7edo6tt4i2lq27k09q2ckut6q
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000021s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000406s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000069s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000123s ]
- [ 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_code=USD; PHPSESSID=u7edo6tt4i2lq27k09q2ckut6q; 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',
'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-2311021042484110-2311021042549102-2311021043006274',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005536s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000040s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000105s ]
- [ 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.003994s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001768s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001749s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001793s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001739s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001031s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000056s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000002s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.002448s ]
- [ 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.000477s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.002878s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000924s ]
- [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001182s ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_view_bottom [ RunTime:0.003322s ]
- [ 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.019755s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001929s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001823s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002539s ]
- 1/27 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.019755s ] [0.019755s/0.055837s=35.38%]
- 2/27 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005536s ] [0.005536s/0.055837s=9.91%]
- 3/27 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003994s ] [0.003994s/0.055837s=7.15%]
- 4/27 . [ BEHAVIOR ] Run addons\discuss\Hook @product_view_bottom [ RunTime:0.003322s ] [0.003322s/0.055837s=5.95%]
- 5/27 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.002878s ] [0.002878s/0.055837s=5.15%]
- 6/27 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002539s ] [0.002539s/0.055837s=4.55%]
- 7/27 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.002448s ] [0.002448s/0.055837s=4.38%]
- 8/27 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001929s ] [0.001929s/0.055837s=3.45%]
- 9/27 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001823s ] [0.001823s/0.055837s=3.26%]
- 10/27 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001793s ] [0.001793s/0.055837s=3.21%]
- 11/27 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001768s ] [0.001768s/0.055837s=3.17%]
- 12/27 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001749s ] [0.001749s/0.055837s=3.13%]
- 13/27 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001739s ] [0.001739s/0.055837s=3.11%]
- 14/27 . [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001182s ] [0.001182s/0.055837s=2.12%]
- 15/27 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001031s ] [0.001031s/0.055837s=1.85%]
- 16/27 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000924s ] [0.000924s/0.055837s=1.65%]
- 17/27 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000477s ] [0.000477s/0.055837s=0.85%]
- 18/27 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000406s ] [0.000406s/0.055837s=0.73%]
- 19/27 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000123s ] [0.000123s/0.055837s=0.22%]
- 20/27 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000105s ] [0.000105s/0.055837s=0.19%]
- 21/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ] [0.000083s/0.055837s=0.15%]
- 22/27 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000069s ] [0.000069s/0.055837s=0.12%]
- 23/27 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000056s ] [0.000056s/0.055837s=0.10%]
- 24/27 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.055837s=0.08%]
- 25/27 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000040s ] [0.000040s/0.055837s=0.07%]
- 26/27 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000021s ] [0.000021s/0.055837s=0.04%]
- 27/27 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000002s ] [0.000002s/0.055837s=0.00%]
- 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.004567s ] 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.001096s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001660s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001178s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001215s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000926s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001339s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000989s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.013631s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765623263 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'u7edo6tt4i2lq27k09q2ckut6q' AND `createtime` > 1765364063 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001447s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001643s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000729s ]
- [ 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` = 'u7edo6tt4i2lq27k09q2ckut6q' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001866s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000742s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001021s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001480s ]
- [ SQL ] SELECT `area_id` FROM `access_control_blacklist` [ RunTime:0.001781s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.141' LIMIT 1 [ RunTime:0.000984s ]
- [ SQL ] SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [ RunTime:0.000844s ]
- [ SQL ] SELECT `code` FROM `area` WHERE `id` IN ('') [ RunTime:0.000872s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '123-2-2311021042484110-2311021042549102-2311021043006274' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001742s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 9 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000934s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765623263 > starttime && 1765623263 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000881s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 9 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000977s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 9 [ RunTime:0.005215s ]
- [ 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.001987s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 9 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001055s ]
- [ 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` = 9 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000985s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000835s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.000943s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.000942s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000797s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.000761s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765623263 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.000902s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000774s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '123-2-2311021042484110-2311021042549102-2311021043006274' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001317s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 9 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001231s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000911s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000835s ]
- [ 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.000803s ]
- [ 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.000916s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765623263 AND `ends_at` >= 1765623263 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.002154s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.000924s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [ RunTime:0.000990s ]
- [ 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` = 9 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001346s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '123-2-2311021042484110-2311021042549102-2311021043006274' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.001283s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( ( `id` <> 9 AND `id` IN (8,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,1) LIMIT 5 [ RunTime:0.001050s ]
- [ 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.001011s ]
- [ 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.002078s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001180s ]
- [ 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.001151s ]
- [ 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.001131s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001342s ]
- 1/54 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.013631s/0.082496s=16.52%]
- 2/54 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 9 [0.005215s/0.082496s=6.32%]
- 3/54 . CONNECT:[ UseTime:0.004567s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698053856472;charset=utf8mb4 [0.004567s/0.082496s=5.54%]
- 4/54 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765623263 AND `ends_at` >= 1765623263 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.002154s/0.082496s=2.61%]
- 5/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.002078s/0.082496s=2.52%]
- 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.001987s/0.082496s=2.41%]
- 7/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` = 'u7edo6tt4i2lq27k09q2ckut6q' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001866s/0.082496s=2.26%]
- 8/54 . SELECT `area_id` FROM `access_control_blacklist` [0.001781s/0.082496s=2.16%]
- 9/54 . SELECT * FROM `product` WHERE ( `path` = '123-2-2311021042484110-2311021042549102-2311021043006274' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001742s/0.082496s=2.11%]
- 10/54 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001660s/0.082496s=2.01%]
- 11/54 . SELECT @@session.sql_mode [0.001643s/0.082496s=1.99%]
- 12/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001480s/0.082496s=1.79%]
- 13/54 . UPDATE `cart` SET `deletetime`=1765623263 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'u7edo6tt4i2lq27k09q2ckut6q' AND `createtime` > 1765364063 ) AND `cart`.`deletetime` IS NULL [0.001447s/0.082496s=1.75%]
- 14/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` = 9 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001346s/0.082496s=1.63%]
- 15/54 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001342s/0.082496s=1.63%]
- 16/54 . set time_zone = '+08:00' [0.001339s/0.082496s=1.62%]
- 17/54 . SELECT * FROM `product` WHERE ( `path` = '123-2-2311021042484110-2311021042549102-2311021043006274' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001317s/0.082496s=1.60%]
- 18/54 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.001283s/0.082496s=1.56%]
- 19/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 9 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001231s/0.082496s=1.49%]
- 20/54 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001215s/0.082496s=1.47%]
- 21/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,1) ) AND `discuss`.`deletetime` IS NULL [0.001180s/0.082496s=1.43%]
- 22/54 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001178s/0.082496s=1.43%]
- 23/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.001151s/0.082496s=1.40%]
- 24/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.001131s/0.082496s=1.37%]
- 25/54 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = '123-2-2311021042484110-2311021042549102-2311021043006274' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001103s/0.082496s=1.34%]
- 26/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001096s/0.082496s=1.33%]
- 27/54 . SELECT * FROM `product_sku` WHERE `product_id` = 9 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001055s/0.082496s=1.28%]
- 28/54 . SELECT `id` FROM `product` WHERE ( ( `id` <> 9 AND `id` IN (8,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,1) LIMIT 5 [0.001050s/0.082496s=1.27%]
- 29/54 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001021s/0.082496s=1.24%]
- 30/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.001011s/0.082496s=1.23%]
- 31/54 . SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [0.000990s/0.082496s=1.20%]
- 32/54 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000989s/0.082496s=1.20%]
- 33/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` = 9 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.000985s/0.082496s=1.19%]
- 34/54 . SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.141' LIMIT 1 [0.000984s/0.082496s=1.19%]
- 35/54 . SELECT * FROM `discuss` WHERE ( `product_id` = 9 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000977s/0.082496s=1.18%]
- 36/54 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.000943s/0.082496s=1.14%]
- 37/54 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.000942s/0.082496s=1.14%]
- 38/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 9 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000934s/0.082496s=1.13%]
- 39/54 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000926s/0.082496s=1.12%]
- 40/54 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.000924s/0.082496s=1.12%]
- 41/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.000916s/0.082496s=1.11%]
- 42/54 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000911s/0.082496s=1.10%]
- 43/54 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765623263 AND `status` = 'enable' AND `deletetime` IS NULL [0.000902s/0.082496s=1.09%]
- 44/54 . SELECT * FROM `activity` WHERE ( ( 1765623263 > starttime && 1765623263 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000881s/0.082496s=1.07%]
- 45/54 . SELECT `code` FROM `area` WHERE `id` IN ('') [0.000872s/0.082496s=1.06%]
- 46/54 . SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [0.000844s/0.082496s=1.02%]
- 47/54 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000835s/0.082496s=1.01%]
- 48/54 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000835s/0.082496s=1.01%]
- 49/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.000803s/0.082496s=0.97%]
- 50/54 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000797s/0.082496s=0.97%]
- 51/54 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000774s/0.082496s=0.94%]
- 52/54 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.000761s/0.082496s=0.92%]
- 53/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000742s/0.082496s=0.90%]
- 54/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000729s/0.082496s=0.88%]
- 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.003706s/0.082496s=4.49%]
- 2/4. SELECT * FROM `product` WHERE ( `path` = '123-2-2311021042484110-2311021042549102-2311021043006274' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.003059s/0.082496s=3.71%]
- 3/4. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 9 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002165s/0.082496s=2.62%]
- 4/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001471s/0.082496s=1.78%]