Aikesheng Open Source Community
Apr 2, 2021 · Databases
Why MySQL Chooses a Composite Index Even When the Query Skips the Leftmost Column
This article explains why MySQL may still use a composite index as a covering or range index despite the query not following the leftmost‑prefix rule, by analyzing optimizer trace output and demonstrating the behavior with concrete experiments.
Covering IndexDatabase PerformanceSkip Scan
0 likes · 3 min read