问题
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