The sort_buffer_size variable sets the amount of memory for a buffer that is allocated for sessions performing a sort.
Releem automatically tunes sort_buffer_size and
44 other variables to improve MySQL performance. Try Releem for
Free, or deepen your understanding by reading our detailed article.