Question

"Out of sort memory, consider increasing server sort buffer size" error on mysql managed db

Posted June 23, 2020 8.1k views
DigitalOcean Managed MySQL Database

I recently started using a managed DB and am getting the error “Out of sort memory, consider increasing server sort buffer size”. How would I go about altering the sortbuffersize on a managed mysql instance?

I can’t seem to find anything in your docs about how you would update settings without having a my.cnf file.

Thanks,
Ant

edited by AHA

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hey @northerncyclist,

Indeed you are correct, as this is a managed solution you do not have access to the my.cnf file to make that change directly yourself.

However, please reach out to our amazing support team who will be more than happy to assist you and make this change for your Managed MySQL cluster! :)

https://www.digitalocean.com/support/

Let me know if you have any other questions!
Hope that helps!
- Bobby.

I contacted Support. They told me this error “out of sort memory”, consider increasing server sort buffer size! is due to a bug with the new version of MySQL 8.20

https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-20.html

They increased sortbuffersize, and my new connections to db had no error.