主题 : 网站后台速度发新闻速度变慢
级别: 解元
UID: 83077
积分:391 加为好友
威望: 2 精华: 0
主题:48 回复:183
注册时间:2015-12-01
在线时长:0
1#   发表于:2017-04-19 13:35:49  IP:211.20.*.*
我在后台查询了一下,发现有几条SQL语句的执行比较耗时,等待时间过长。
其中一条语句:
select * from ( select content0_.content_id as content1_14_, content0_.sort_date as sort2_14_, content0_.top_level as top3_14_, content0_.has_title_img as has4_14_, content0_.is_recommend as is5_14_, content0_.status as status14_, content0_.views_day as views7_14_, content0_.comments_day as comments8_14_, content0_.downloads_day as downloads9_14_, content0_.ups_day as ups10_14_, content0_.score as score14_, content0_.type_id as type12_14_, content0_.site_id as site13_14_, content0_.user_id as user14_14_, content0_.channel_id as channel15_14_, content0_.model_id as model16_14_ from jc_content content0_ left outer join jc_content_share_check contentsha1_ on content0_.content_id=contentsha1_.content_id left outer join jc_channel channel2_ on contentsha1_.channel_id=channel2_.channel_id inner join jc_channel channel3_ on content0_.channel_id=channel3_.channel_id cross join jc_channel channel4_ cross join jc_content_ext contentext5_ where content0_.content_id=contentext5_.content_id and ((c

这是什么操作?
ffffffff
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
2#   发表于:2017-04-19 13:38:03  IP:106.166.*.*
查询内容排序及栏目的
路漫漫其修远兮,吾将上下而求索!
级别: 解元
UID: 83077
积分:391 加为好友
威望: 2 精华: 0
主题:48 回复:183
注册时间:2015-12-01
在线时长:0
3#   发表于:2017-04-21 12:19:36  IP:211.20.*.*
这几个操作比较耗时,等待时间长,怎么处理?
ffffffff
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
4#   发表于:2017-04-21 12:48:25  IP:106.166.*.*
哪个版本系统
1
1 共1页