Wordpress 主题为mysql生成以下错误:
####
+---------+------------------+-------------------+-----------------------+---------+--------+------------+------------------------------------------------------------------------------------------------------+----------+
| Id | User | Host | db |Command| Time | State | Info | Progress |
+---------+------------------+-------------------+-----------------------+---------+--------+------------+------------------------------------------------------------------------------------------------------+----------+
| 9013075 | nilamigh_nilami2 | localhost | nilamigh_nilami2 | Query | 116398 | statistics | SELECT SQL_CALC_FOUND_ROWS wpli_sbafat18posts.ID FROM wpli_sbafat18posts LEFT JOIN wpli_sbafat18te | 0.000 |
| 9014193 | nilamigh_nilami2 | localhost | nilamigh_nilami2 | Query | 116097 | statistics | SELECT SQL_CALC_FOUND_ROWS wpli_sbafat18posts.ID FROM wpli_sbafat18posts LEFT JOIN wpli_sbafat18te | 0.000 |
####
答案 0 :(得分:0)
通过禁用“SELECT SQL_CALC_FOUND_ROWS”查询此帖子中找到的解决方案来解决问题 "WordPress: SQL_CALC_FOUND_ROWS, why it’s slow and what to do about it"