Non-optimal Index Chosen Depending on Index Declaration Order
(Doc ID 2934228.1)
Last updated on MARCH 09, 2023
Applies to:
MySQL Server - Version 8.0 and laterInformation in this document applies to any platform.
Symptoms
The location of the index in the table definition makes a difference to whether it's chosen or not..
Here the best index is getting picked because it's declared first:
Changes
Dropped and added an index, so that the position changed in the table declaration.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |