MySQL fts index degrading performance until OPTIMIZE TABLE

て烟熏妆下的殇ゞ 提交于 2020-01-25 06:13:56

问题


It seems that when updating a mysql fulltext index, the query performance degrades over time -- perhaps about two months of updates, there a noticeable query degradation on a query such as:

WHERE  match(search) against ('Season1')

Is this a common experience? I've never heard of this before. Is it possible to 'rebuild' the fts index or something if it seems like the performance is degrading?

However, after running OPTIMIZE TABLE every month or so, it seems to fix the problem. What's going on here?

来源:https://stackoverflow.com/questions/59796140/mysql-fts-index-degrading-performance-until-optimize-table

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!