请注意,我在wordpress搜索中有一个非常慢的查询,使用SHOW FULL PROCESSLIST;
下面是一个查询示例
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE \'%Industreet%\') OR (wp_posts.post_excerpt LIKE \'%Industreet%\') OR (wp_posts.post_content LIKE \'%Industreet%\'))) AND (wp_posts.post_password = \'\') AND wp_posts.post_type IN (\'post\', \'page\', \'attachment\') AND (wp_posts.post_status = \'publish\') ORDER BY wp_posts.post_title LIKE \'%Industreet%\' DESC, wp_posts.post_date DESC LIMIT 0, 25
我已经尽力解决这个问题,但没有任何结果。虽然我在我的网站上总共有12万个帖子。我真的需要帮助。
提前感谢