How to find Missing Indexes in MySQL?

前端 未结 1 1346
萌比男神i
萌比男神i 2021-01-01 02:59

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条回答
  •  暖寄归人
    2021-01-01 03:41

    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

    0 讨论(0)
提交回复
热议问题