How to find Missing Indexes in MySQL?

谁说胖子不能爱 提交于 2019-12-21 05:41:46

问题


5 and i want to identify missing indexes in it. Can somebody please help me to identify ? This will help us to increase the performance of query that leads to application.


回答1:


The best what I can think of is to use the EXPLAIN to check the execution plan of your query with index and without index and then see the difference in query performance.

You can also refer:

  • Does MySQL exectution plan depend on available indexes?
  • Using EXPLAIN to Write Better MySQL Queries
  • How to find un-indexed queries in MySQL, without using the log


来源:https://stackoverflow.com/questions/30626876/how-to-find-missing-indexes-in-mysql

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