Built table SQL:
Query category_id is 1 and a case where comments greater than 1, views the most article_id, first explain Results:
Construction three field index results:
Since the second index range is not precisely positioned if necessary to modify the index
built two field index results:
MySQL optimization of the index table Case
Guess you like
Origin blog.csdn.net/qq_39885372/article/details/104183618
Recommended
Ranking