基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-03-31 18:11:03 HTTP/1.1 GET : lyzhekou.test3.shoppaas.co/category/%e6%89%8b%e5%8a%a8%e5%88%86%e7%b1%bb-8.html
- 运行时间 : 0.404025s [ 吞吐率:2.48req/s ] 内存消耗:3,080.57kb 文件加载:324
- 查询信息 : [耗时:0.077004s/0.404025 19.06% ] 43 queries ,4 writes
- 缓存信息 : 23 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=60odpn332nqeha57si1l9b6lf3
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000343s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000066s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000079s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'lyzhekou.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.44',
'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' => 'lyzhekou.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => '手动分类-8',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005097s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000037s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000100s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1684149631960:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/template/product_lists.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 => 'category',
39 => 'filters',
40 => 'price',
41 => 'oldprice',
42 => 'oldsku',
43 => 'oldsupplier',
44 => 'productList',
45 => 'appends',
46 => 'product_review',
47 => 'empty',
48 => 'view',
49 => 'order',
50 => 'limit',
51 => 'seotitle',
52 => 'seokeywords',
53 => 'seodescription',
54 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.001269s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.108791s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002289s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003944s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002081s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001890s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001807s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001493s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001297s ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002987s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001167s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001923s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001855s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001139s ]
- 1/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.108791s ] [0.108791s/0.139759s=77.84%]
- 2/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005097s ] [0.005097s/0.139759s=3.65%]
- 3/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003944s ] [0.003944s/0.139759s=2.82%]
- 4/23 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002987s ] [0.002987s/0.139759s=2.14%]
- 5/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002289s ] [0.002289s/0.139759s=1.64%]
- 6/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002081s ] [0.002081s/0.139759s=1.49%]
- 7/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001923s ] [0.001923s/0.139759s=1.38%]
- 8/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001890s ] [0.001890s/0.139759s=1.35%]
- 9/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001855s ] [0.001855s/0.139759s=1.33%]
- 10/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001807s ] [0.001807s/0.139759s=1.29%]
- 11/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001493s ] [0.001493s/0.139759s=1.07%]
- 12/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001297s ] [0.001297s/0.139759s=0.93%]
- 13/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.001269s ] [0.001269s/0.139759s=0.91%]
- 14/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001167s ] [0.001167s/0.139759s=0.84%]
- 15/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001139s ] [0.001139s/0.139759s=0.81%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000343s ] [0.000343s/0.139759s=0.25%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000100s ] [0.000100s/0.139759s=0.07%]
- 18/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000079s ] [0.000079s/0.139759s=0.06%]
- 19/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000066s ] [0.000066s/0.139759s=0.05%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ] [0.000055s/0.139759s=0.04%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000037s ] [0.000037s/0.139759s=0.03%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ] [0.000034s/0.139759s=0.02%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ] [0.000016s/0.139759s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002970s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1684149631960;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001228s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001278s ]
- [ SQL ] SELECT `area_id` FROM `access_control_blacklist` [ RunTime:0.001472s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.44' LIMIT 1 [ RunTime:0.001287s ]
- [ SQL ] SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [ RunTime:0.000890s ]
- [ SQL ] SELECT `code` FROM `area` WHERE `id` IN ('') [ RunTime:0.000930s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001904s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001353s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001193s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.003921s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001585s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001460s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001100s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000958s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000942s ]
- [ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1774951863 and b.endtime > 1774951863 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(8, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.004001s ]
- [ SQL ] select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (171,168,166,156,114,112,110,108,91,90,89,88,87,86,85,84,83,82,77,75,73,65,45,44,42,40,39,38,37) group by binary(p.name), binary(p1.name); [ RunTime:0.002426s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000797s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000706s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=8 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1774951863 and b.endtime > 1774951863 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(8, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.003192s ]
- [ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=8 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1774951863 and b.endtime > 1774951863 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(8, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [ RunTime:0.005514s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (171,168,166,156,114,112,110,108,91,90,89,88) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001611s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (171,168,166,156,114,112,110,108,91,90,89,88) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002160s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1774951863 > starttime && 1774951863 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.002156s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (2,4,17) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.004747s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001232s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000840s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001006s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = '手动分类-8' LIMIT 1 [ RunTime:0.001014s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001323s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001164s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001215s ]
- [ 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.002020s ]
- [ 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.001545s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/043c34d6fbd930e17d82439fbbd6866c.jpg' LIMIT 1 [ RunTime:0.001008s ]
- [ 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.001009s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/4f3a9498d4fef4aa84675ddb3d56998d.jpg' LIMIT 1 [ RunTime:0.000862s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/ec1db7b3c3fd095452a26a748111810e.jpg' LIMIT 1 [ RunTime:0.001091s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/01015c5549ec1314364a8060143fb7e1.jpg' LIMIT 1 [ RunTime:0.000850s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/761c348bcfc001e63b104e21bf5a2e47.jpg' LIMIT 1 [ RunTime:0.001071s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/e946f643266b19003287ed64dd1ca792.jpg' LIMIT 1 [ RunTime:0.001128s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/41b50b1381de36fac64e93707b2e164e.jpg' LIMIT 1 [ RunTime:0.001113s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/593e820a1e1903aa67a55d292e9fb4d6.jpg' LIMIT 1 [ RunTime:0.001154s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/5ea81d0871fd864b71cf5402be98a5c7.jpg' LIMIT 1 [ RunTime:0.001315s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/22b65f332c832a16dd7ef1856ab3b5a1.jpg' LIMIT 1 [ RunTime:0.001086s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/bae4ebc7acc5c2ec5fdd4cef3eb9a422.jpg' LIMIT 1 [ RunTime:0.001122s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/8980ee050908677f6983658df3bda80c.jpg' LIMIT 1 [ RunTime:0.001055s ]
- 1/48 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=8 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1774951863 and b.endtime > 1774951863 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(8, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [0.005514s/0.077004s=7.16%]
- 2/48 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (2,4,17) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.004747s/0.077004s=6.16%]
- 3/48 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1774951863 and b.endtime > 1774951863 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(8, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.004001s/0.077004s=5.20%]
- 4/48 . set time_zone = '+08:00' [0.003921s/0.077004s=5.09%]
- 5/48 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=8 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1774951863 and b.endtime > 1774951863 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(8, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.003192s/0.077004s=4.15%]
- 6/48 . CONNECT:[ UseTime:0.002970s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1684149631960;charset=utf8mb4 [0.002970s/0.077004s=3.86%]
- 7/48 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (171,168,166,156,114,112,110,108,91,90,89,88,87,86,85,84,83,82,77,75,73,65,45,44,42,40,39,38,37) group by binary(p.name), binary(p1.name); [0.002426s/0.077004s=3.15%]
- 8/48 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (171,168,166,156,114,112,110,108,91,90,89,88) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002160s/0.077004s=2.81%]
- 9/48 . SELECT * FROM `activity` WHERE ( ( 1774951863 > starttime && 1774951863 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.002156s/0.077004s=2.80%]
- 10/48 . 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.002020s/0.077004s=2.62%]
- 11/48 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001904s/0.077004s=2.47%]
- 12/48 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (171,168,166,156,114,112,110,108,91,90,89,88) ) AND `discuss`.`deletetime` IS NULL [0.001611s/0.077004s=2.09%]
- 13/48 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001585s/0.077004s=2.06%]
- 14/48 . 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.001545s/0.077004s=2.01%]
- 15/48 . SELECT `area_id` FROM `access_control_blacklist` [0.001472s/0.077004s=1.91%]
- 16/48 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001460s/0.077004s=1.90%]
- 17/48 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001353s/0.077004s=1.76%]
- 18/48 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001323s/0.077004s=1.72%]
- 19/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/5ea81d0871fd864b71cf5402be98a5c7.jpg' LIMIT 1 [0.001315s/0.077004s=1.71%]
- 20/48 . SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.44' LIMIT 1 [0.001287s/0.077004s=1.67%]
- 21/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001278s/0.077004s=1.66%]
- 22/48 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001232s/0.077004s=1.60%]
- 23/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001228s/0.077004s=1.59%]
- 24/48 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001215s/0.077004s=1.58%]
- 25/48 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001193s/0.077004s=1.55%]
- 26/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001164s/0.077004s=1.51%]
- 27/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/593e820a1e1903aa67a55d292e9fb4d6.jpg' LIMIT 1 [0.001154s/0.077004s=1.50%]
- 28/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/e946f643266b19003287ed64dd1ca792.jpg' LIMIT 1 [0.001128s/0.077004s=1.46%]
- 29/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/bae4ebc7acc5c2ec5fdd4cef3eb9a422.jpg' LIMIT 1 [0.001122s/0.077004s=1.46%]
- 30/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/41b50b1381de36fac64e93707b2e164e.jpg' LIMIT 1 [0.001113s/0.077004s=1.45%]
- 31/48 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001100s/0.077004s=1.43%]
- 32/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/ec1db7b3c3fd095452a26a748111810e.jpg' LIMIT 1 [0.001091s/0.077004s=1.42%]
- 33/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/22b65f332c832a16dd7ef1856ab3b5a1.jpg' LIMIT 1 [0.001086s/0.077004s=1.41%]
- 34/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/761c348bcfc001e63b104e21bf5a2e47.jpg' LIMIT 1 [0.001071s/0.077004s=1.39%]
- 35/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/8980ee050908677f6983658df3bda80c.jpg' LIMIT 1 [0.001055s/0.077004s=1.37%]
- 36/48 . SELECT `id` FROM `category` WHERE `path` = '手动分类-8' LIMIT 1 [0.001014s/0.077004s=1.32%]
- 37/48 . 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.001009s/0.077004s=1.31%]
- 38/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/043c34d6fbd930e17d82439fbbd6866c.jpg' LIMIT 1 [0.001008s/0.077004s=1.31%]
- 39/48 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001006s/0.077004s=1.31%]
- 40/48 . SELECT @@session.sql_mode [0.000958s/0.077004s=1.24%]
- 41/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000942s/0.077004s=1.22%]
- 42/48 . SELECT `code` FROM `area` WHERE `id` IN ('') [0.000930s/0.077004s=1.21%]
- 43/48 . SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [0.000890s/0.077004s=1.16%]
- 44/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/4f3a9498d4fef4aa84675ddb3d56998d.jpg' LIMIT 1 [0.000862s/0.077004s=1.12%]
- 45/48 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/5aab09b1fdabc1ae/01015c5549ec1314364a8060143fb7e1.jpg' LIMIT 1 [0.000850s/0.077004s=1.10%]
- 46/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000840s/0.077004s=1.09%]
- 47/48 . SELECT @@session.sql_mode [0.000797s/0.077004s=1.04%]
- 48/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000706s/0.077004s=0.92%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002488s/0.077004s=3.23%]
- 2/3. 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 [3 times, 0.004574s/0.077004s=5.94%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.001755s/0.077004s=2.28%]
- Facebook track: Use:9.8137140274048ms