My Oracle Support Banner

Optimizer enhancements in 5.6 : Sort on the fly when no index is used in SELECT ... ORDER BY .. LIMIT statement (Doc ID 1463165.1)

Last updated on AUGUST 17, 2021

Applies to:

Oracle Database Products > MySQL > MySQL Server
Information in this document applies to any platform.


 This document describes details of new enhancement, situations when performance boost is expected, examples and troubleshooting technique.


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
 What exactly is optimized
 When new approach is faster
 How to ensure that new approach is used
 How to tune most optimal value for sort_buffer_size
 Example of performance boost

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.