How can you check whether a MySQL query is making use of a Covering Index and getting all the data it needs solely from that Index?

有帮助吗?

解决方案

For an index only scan (covering index) MySQL shows 'Using index' in the Extra column.

http://use-the-index-luke.com/sql/explain-plan/mysql/operations

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top