Order by operation failed with error "Out of sort memory, consider increasing server sort buffer size"
(Doc ID 2784481.1)
Last updated on JUNE 29, 2021
Applies to:MySQL Server - Version 8.0 and later
Information in this document applies to any platform.
Order by operation failed with error "Out of sort memory, consider increasing server sort buffer size".
Usually, it means sort_buffer_size is small for the workload. You can check this document 2776264.1 to adjust it.
When the table is small and there are JSON columns involved. Order by will fail due to Bug:32826826
Upgrade the database to 8.0
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