打印

wordpress系统这条select语句执行时间太长了,如何优化呢

wordpress系统这条select语句执行时间太长了,如何优化呢

lnmp1.3的环境,最近看后台mysql运行情况,发现很多类似的sql语句执行70多秒,网站很慢,有解决措施吗?  SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1  AND (  wp_term_relationships.term_taxonomy_id =1681) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 24;

TOP

sql语句优化不了解

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP