基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-10 12:40:32 HTTP/1.1 GET : oyl002.test3.shoppaas.co/product/apple-pencil-1-silicone-protective-case-rose-gold.html
- 运行时间 : 0.165920s [ 吞吐率:6.03req/s ] 内存消耗:2,510.38kb 文件加载:297
- 查询信息 : [耗时:0.056293s/0.165920 33.93% ] 39 queries ,5 writes
- 缓存信息 : 11 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=4lcn8esme6dfgbkubuatchtfj4
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000407s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ]
- [ 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',
'cookie' => 'PHPSESSID=4lcn8esme6dfgbkubuatchtfj4; 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%3A1702968337%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D; 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' => '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.004632s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000041s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ]
- [ 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.003065s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001890s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001745s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001900s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001877s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001770s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001786s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001438s ]
- [ 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.000843s ]
- [ 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.000876s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003103s ]
- [ 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.000457s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003311s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001006s ]
- [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001268s ]
- [ 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.004714s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003229s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001734s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001714s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002210s ]
- 1/29 . [ BEHAVIOR ] Run addons\discuss\Hook @product_view_bottom [ RunTime:0.004714s ] [0.004714s/0.045408s=10.38%]
- 2/29 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004632s ] [0.004632s/0.045408s=10.20%]
- 3/29 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003311s ] [0.003311s/0.045408s=7.29%]
- 4/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.003229s ] [0.003229s/0.045408s=7.11%]
- 5/29 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003103s ] [0.003103s/0.045408s=6.83%]
- 6/29 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003065s ] [0.003065s/0.045408s=6.75%]
- 7/29 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.002210s ] [0.002210s/0.045408s=4.87%]
- 8/29 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001900s ] [0.001900s/0.045408s=4.18%]
- 9/29 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001890s ] [0.001890s/0.045408s=4.16%]
- 10/29 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001877s ] [0.001877s/0.045408s=4.13%]
- 11/29 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001786s ] [0.001786s/0.045408s=3.93%]
- 12/29 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001770s ] [0.001770s/0.045408s=3.90%]
- 13/29 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001745s ] [0.001745s/0.045408s=3.84%]
- 14/29 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001734s ] [0.001734s/0.045408s=3.82%]
- 15/29 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001714s ] [0.001714s/0.045408s=3.77%]
- 16/29 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001438s ] [0.001438s/0.045408s=3.17%]
- 17/29 . [ BEHAVIOR ] Run addons\marketingproductcombination\Hook @product_view_bottom [ RunTime:0.001268s ] [0.001268s/0.045408s=2.79%]
- 18/29 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001006s ] [0.001006s/0.045408s=2.22%]
- 19/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar [ RunTime:0.000876s ] [0.000876s/0.045408s=1.93%]
- 20/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000843s ] [0.000843s/0.045408s=1.86%]
- 21/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000457s ] [0.000457s/0.045408s=1.01%]
- 22/29 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000407s ] [0.000407s/0.045408s=0.90%]
- 23/29 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ] [0.000104s/0.045408s=0.23%]
- 24/29 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000085s ] [0.000085s/0.045408s=0.19%]
- 25/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ] [0.000079s/0.045408s=0.17%]
- 26/29 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ] [0.000063s/0.045408s=0.14%]
- 27/29 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000050s ] [0.000050s/0.045408s=0.11%]
- 28/29 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000041s ] [0.000041s/0.045408s=0.09%]
- 29/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.045408s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002674s ] 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.000975s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001120s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001519s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001124s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000993s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001025s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001025s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000852s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765341632 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '4lcn8esme6dfgbkubuatchtfj4' AND `createtime` > 1765082432 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001253s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001013s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000712s ]
- [ 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` = '4lcn8esme6dfgbkubuatchtfj4' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001738s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000843s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001157s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001289s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001502s ]
- [ 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.001038s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765341632 > starttime && 1765341632 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000889s ]
- [ 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.001122s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001363s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [ RunTime:0.005377s ]
- [ 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.001954s ]
- [ 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.001051s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001057s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.000916s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001093s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001379s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.000832s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765341632 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001242s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.001061s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001235s ]
- [ 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.001162s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001213s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000938s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765341632 AND `ends_at` >= 1765341632 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001278s ]
- [ SQL ] SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 2 AND `type` = 'percentage' [ RunTime:0.000986s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001117s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [ RunTime:0.001066s ]
- [ 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.001311s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 4 and deletetime is null order by createtime desc, id desc [ RunTime:0.000805s ]
- [ 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.001184s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.000760s ]
- [ 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.000986s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001064s ]
- 1/45 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 4 [0.005377s/0.056293s=9.55%]
- 2/45 . CONNECT:[ UseTime:0.002674s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1716175587842;charset=utf8mb4 [0.002674s/0.056293s=4.75%]
- 3/45 . 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.001954s/0.056293s=3.47%]
- 4/45 . 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` = '4lcn8esme6dfgbkubuatchtfj4' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001738s/0.056293s=3.09%]
- 5/45 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001519s/0.056293s=2.70%]
- 6/45 . SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001502s/0.056293s=2.67%]
- 7/45 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001379s/0.056293s=2.45%]
- 8/45 . SELECT * FROM `discuss` WHERE ( `product_id` = 4 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001363s/0.056293s=2.42%]
- 9/45 . 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.001311s/0.056293s=2.33%]
- 10/45 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001289s/0.056293s=2.29%]
- 11/45 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1765341632 AND `ends_at` >= 1765341632 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001278s/0.056293s=2.27%]
- 12/45 . UPDATE `cart` SET `deletetime`=1765341632 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '4lcn8esme6dfgbkubuatchtfj4' AND `createtime` > 1765082432 ) AND `cart`.`deletetime` IS NULL [0.001253s/0.056293s=2.23%]
- 13/45 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1765341632 AND `status` = 'enable' AND `deletetime` IS NULL [0.001242s/0.056293s=2.21%]
- 14/45 . SELECT * FROM `product` WHERE ( `path` = 'apple-pencil-1-silicone-protective-case-rose-gold' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001235s/0.056293s=2.19%]
- 15/45 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001213s/0.056293s=2.15%]
- 16/45 . 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.001184s/0.056293s=2.10%]
- 17/45 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001162s/0.056293s=2.06%]
- 18/45 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001157s/0.056293s=2.06%]
- 19/45 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001124s/0.056293s=2.00%]
- 20/45 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001122s/0.056293s=1.99%]
- 21/45 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001120s/0.056293s=1.99%]
- 22/45 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001117s/0.056293s=1.98%]
- 23/45 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001093s/0.056293s=1.94%]
- 24/45 . SELECT * FROM `marketing_product_combination` WHERE ( `status` = 'enable' ) AND `marketing_product_combination`.`deletetime` IS NULL ORDER BY `weigh` DESC [0.001066s/0.056293s=1.89%]
- 25/45 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001064s/0.056293s=1.89%]
- 26/45 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.001061s/0.056293s=1.88%]
- 27/45 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001057s/0.056293s=1.88%]
- 28/45 . 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.001051s/0.056293s=1.87%]
- 29/45 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 4 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001038s/0.056293s=1.84%]
- 30/45 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001025s/0.056293s=1.82%]
- 31/45 . set time_zone = '+08:00' [0.001025s/0.056293s=1.82%]
- 32/45 . SELECT @@session.sql_mode [0.001013s/0.056293s=1.80%]
- 33/45 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000993s/0.056293s=1.76%]
- 34/45 . 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.000986s/0.056293s=1.75%]
- 35/45 . SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 2 AND `type` = 'percentage' [0.000986s/0.056293s=1.75%]
- 36/45 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000975s/0.056293s=1.73%]
- 37/45 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000938s/0.056293s=1.67%]
- 38/45 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.000916s/0.056293s=1.63%]
- 39/45 . SELECT * FROM `activity` WHERE ( ( 1765341632 > starttime && 1765341632 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000889s/0.056293s=1.58%]
- 40/45 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000852s/0.056293s=1.51%]
- 41/45 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000843s/0.056293s=1.50%]
- 42/45 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.000832s/0.056293s=1.48%]
- 43/45 . SELECT *
FROM
discuss
where status='show' and product_id = 4 and deletetime is null order by createtime desc, id desc [0.000805s/0.056293s=1.43%]
- 44/45 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.000760s/0.056293s=1.35%]
- 45/45 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000712s/0.056293s=1.26%]
- 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.00294s/0.056293s=5.22%]
- 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.002737s/0.056293s=4.86%]
- 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.0022s/0.056293s=3.91%]
- 4/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001555s/0.056293s=2.76%]