基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-10 11:45:54 HTTP/1.1 GET : oyl002.test3.shoppaas.co/product/apple-pencil-1-silicone-protective-case-rose-gold
- 运行时间 : 0.171102s [ 吞吐率:5.84req/s ] 内存消耗:2,632.35kb 文件加载:304
- 查询信息 : [耗时:0.068648s/0.171102 40.12% ] 40 queries ,5 writes
- 缓存信息 : 11 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=65kmto09cf1170rfk5d51h345b
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000264s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000072s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'oyl002.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.119',
'referer' => 'http://oyl002.test3.shoppaas.co/product/apple-pencil-1-silicone-protective-case-rose-gold',
'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' => 'oyl002.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'apple-pencil-1-silicone-protective-case-rose-gold',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004446s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000036s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1716175587842:',
'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/debut/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.002782s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001823s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001719s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001664s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001707s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001671s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001671s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001498s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_activity_seckill.html [ array (
0 => 'product',
1 => 'sku_price',
2 => 'sku_price_selected',
3 => 'diy_data',
4 => 'man_jian_jian_mian_set',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.002405s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_activitybar.html [ array (
0 => 'product',
1 => 'sku_price',
2 => 'sku_price_selected',
3 => 'diy_data',
4 => 'man_jian_jian_mian_set',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.001362s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003736s ]
- [ 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.000327s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004254s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000922s ]
- [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001467s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power_waterfall.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_view_bottom [ RunTime:0.005146s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003662s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001752s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001633s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002139s ]
- 1/29 . [ BEHAVIOR ] Run addons\discuss\Hook @product_view_bottom [ RunTime:0.005146s ] [0.005146s/0.048412s=10.63%]
- 2/29 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004446s ] [0.004446s/0.048412s=9.18%]
- 3/29 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004254s ] [0.004254s/0.048412s=8.79%]
- 4/29 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003736s ] [0.003736s/0.048412s=7.72%]
- 5/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003662s ] [0.003662s/0.048412s=7.56%]
- 6/29 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002782s ] [0.002782s/0.048412s=5.75%]
- 7/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.002405s ] [0.002405s/0.048412s=4.97%]
- 8/29 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002139s ] [0.002139s/0.048412s=4.42%]
- 9/29 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001823s ] [0.001823s/0.048412s=3.77%]
- 10/29 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001752s ] [0.001752s/0.048412s=3.62%]
- 11/29 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001719s ] [0.001719s/0.048412s=3.55%]
- 12/29 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001707s ] [0.001707s/0.048412s=3.53%]
- 13/29 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001671s ] [0.001671s/0.048412s=3.45%]
- 14/29 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001671s ] [0.001671s/0.048412s=3.45%]
- 15/29 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001664s ] [0.001664s/0.048412s=3.44%]
- 16/29 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001633s ] [0.001633s/0.048412s=3.37%]
- 17/29 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001498s ] [0.001498s/0.048412s=3.09%]
- 18/29 . [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001467s ] [0.001467s/0.048412s=3.03%]
- 19/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.001362s ] [0.001362s/0.048412s=2.81%]
- 20/29 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000922s ] [0.000922s/0.048412s=1.90%]
- 21/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000327s ] [0.000327s/0.048412s=0.68%]
- 22/29 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000264s ] [0.000264s/0.048412s=0.55%]
- 23/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000083s ] [0.000083s/0.048412s=0.17%]
- 24/29 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000072s ] [0.000072s/0.048412s=0.15%]
- 25/29 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.048412s=0.14%]
- 26/29 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ] [0.000056s/0.048412s=0.12%]
- 27/29 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ] [0.000036s/0.048412s=0.07%]
- 28/29 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000036s ] [0.000036s/0.048412s=0.07%]
- 29/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.048412s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.003864s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1716175587842;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000977s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001057s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001329s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000982s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001183s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000866s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000979s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001332s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765338354 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '65kmto09cf1170rfk5d51h345b' AND `createtime` > 1765079154 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001419s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000903s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000852s ]
- [ 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` = '65kmto09cf1170rfk5d51h345b' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.003883s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000962s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000893s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001217s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001974s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001097s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765338354 > starttime && 1765338354 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001009s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001077s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001079s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [ RunTime:0.005182s ]
- [ 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.001875s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001436s ]
- [ SQL ] SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 4 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001961s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000976s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001035s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.005282s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001015s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.000989s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765338354 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001290s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000868s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001190s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001057s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001366s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000925s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765338354 AND `ends_at` >= 1765338354 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001995s ]
- [ SQL ] SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 2 AND `type` = 'percentage' [ RunTime:0.001194s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.002398s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [ RunTime:0.001281s ]
- [ SQL ] SELECT `id`,`type`,`title`,`subtitle`,`supplier`,`spu`,`status`,`audit_status`,`audit_reject_times`,`auto_shelves_after_audit`,`is_tax`,`weigh`,`category_ids`,`product_tag_ids`,`product_tag_names`,`image`,`images`,`params`,`price`,`original_price`,`is_sku`,`likes`,`views`,`sales`,`size_country`,`size_guide`,`marketing_size_guide_id`,`show_sales`,`service_ids`,`shipping_type`,`shipping_ids`,`is_custom`,`custom_config`,`draft_product_id`,`seotitle`,`keywords`,`description`,`path`,`is_tob_sku`,`product_topic_style`,`createtime`,`updatetime`,`deletetime`,`is_custom_plus`,`is_additional_product`,`show_deleted_sku`,`gtin`,`lang` FROM `product` WHERE ( `id` = 4 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001155s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 4 and deletetime is null order by createtime desc, id desc [ RunTime:0.001033s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001228s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.001004s ]
- [ 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.000901s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001078s ]
- 1/46 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.005282s/0.068648s=7.69%]
- 2/46 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [0.005182s/0.068648s=7.55%]
- 3/46 . 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` = '65kmto09cf1170rfk5d51h345b' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.003883s/0.068648s=5.66%]
- 4/46 . CONNECT:[ UseTime:0.003864s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1716175587842;charset=utf8mb4 [0.003864s/0.068648s=5.63%]
- 5/46 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.002398s/0.068648s=3.49%]
- 6/46 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765338354 AND `ends_at` >= 1765338354 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001995s/0.068648s=2.91%]
- 7/46 . SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001974s/0.068648s=2.88%]
- 8/46 . SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 4 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001961s/0.068648s=2.86%]
- 9/46 . 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.001875s/0.068648s=2.73%]
- 10/46 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001436s/0.068648s=2.09%]
- 11/46 . UPDATE `cart` SET `deletetime`=1765338354 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '65kmto09cf1170rfk5d51h345b' AND `createtime` > 1765079154 ) AND `cart`.`deletetime` IS NULL [0.001419s/0.068648s=2.07%]
- 12/46 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001366s/0.068648s=1.99%]
- 13/46 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001332s/0.068648s=1.94%]
- 14/46 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001329s/0.068648s=1.94%]
- 15/46 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765338354 AND `status` = 'enable' AND `deletetime` IS NULL [0.001290s/0.068648s=1.88%]
- 16/46 . SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [0.001281s/0.068648s=1.87%]
- 17/46 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001228s/0.068648s=1.79%]
- 18/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001217s/0.068648s=1.77%]
- 19/46 . SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 2 AND `type` = 'percentage' [0.001194s/0.068648s=1.74%]
- 20/46 . SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001190s/0.068648s=1.73%]
- 21/46 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001183s/0.068648s=1.72%]
- 22/46 . SELECT `id`,`type`,`title`,`subtitle`,`supplier`,`spu`,`status`,`audit_status`,`audit_reject_times`,`auto_shelves_after_audit`,`is_tax`,`weigh`,`category_ids`,`product_tag_ids`,`product_tag_names`,`image`,`images`,`params`,`price`,`original_price`,`is_sku`,`likes`,`views`,`sales`,`size_country`,`size_guide`,`marketing_size_guide_id`,`show_sales`,`service_ids`,`shipping_type`,`shipping_ids`,`is_custom`,`custom_config`,`draft_product_id`,`seotitle`,`keywords`,`description`,`path`,`is_tob_sku`,`product_topic_style`,`createtime`,`updatetime`,`deletetime`,`is_custom_plus`,`is_additional_product`,`show_deleted_sku`,`gtin`,`lang` FROM `product` WHERE ( `id` = 4 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001155s/0.068648s=1.68%]
- 23/46 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001097s/0.068648s=1.60%]
- 24/46 . SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001079s/0.068648s=1.57%]
- 25/46 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001078s/0.068648s=1.57%]
- 26/46 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001077s/0.068648s=1.57%]
- 27/46 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001057s/0.068648s=1.54%]
- 28/46 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001057s/0.068648s=1.54%]
- 29/46 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001035s/0.068648s=1.51%]
- 30/46 . SELECT *
FROM
discuss
where status='show' and product_id = 4 and deletetime is null order by createtime desc, id desc [0.001033s/0.068648s=1.50%]
- 31/46 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001015s/0.068648s=1.48%]
- 32/46 . SELECT * FROM `activity` WHERE ( ( 1765338354 > starttime && 1765338354 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001009s/0.068648s=1.47%]
- 33/46 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.001004s/0.068648s=1.46%]
- 34/46 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.000989s/0.068648s=1.44%]
- 35/46 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000982s/0.068648s=1.43%]
- 36/46 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000979s/0.068648s=1.43%]
- 37/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000977s/0.068648s=1.42%]
- 38/46 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000976s/0.068648s=1.42%]
- 39/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000962s/0.068648s=1.40%]
- 40/46 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000925s/0.068648s=1.35%]
- 41/46 . SELECT @@session.sql_mode [0.000903s/0.068648s=1.32%]
- 42/46 . 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.000901s/0.068648s=1.31%]
- 43/46 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000893s/0.068648s=1.30%]
- 44/46 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000868s/0.068648s=1.26%]
- 45/46 . set time_zone = '+08:00' [0.000866s/0.068648s=1.26%]
- 46/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000852s/0.068648s=1.24%]
- 1/4. 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 [2 times, 0.002776s/0.068648s=4.04%]
- 2/4. SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.003164s/0.068648s=4.61%]
- 3/4. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002154s/0.068648s=3.14%]
- 4/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001814s/0.068648s=2.64%]