Question

Can I scale down a managed database?

Posted January 25, 2021 1.1k views
DigitalOcean Managed MySQL Database

Is it possible to reduce the size/cost of your managed database once you’ve scaled up to a larger size? We recently increased the size of a managed database and we’re finding we don’t need the level of resources we resized to.
Thanks!

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

Hello,

You cannot resize cluster nodes to smaller sizes. To move from a bigger node to a smaller node, create a new cluster with the desired node size and import your data. Refer to below link under limits section:

https://www.digitalocean.com/docs/databases/mysql/#managed-database-cluster-limits

Hope this helps!

Cheers,
Sri Charan

Hi @johnbent,

Alternatively, you can resize the database cluster to the size of your choice using DO API/DOCTL CLI apart from backing up and migrating your data to smaller nodes.

Check the below Community question link that was answered on how to downgrade DB cluster :

https://www.digitalocean.com/community/questions/how-can-i-downgrade-my-db-cluster

I hope this helps!

Regards,
Rajkishore

  • I sometimes need to scale up and, so far, I’ve been using the API to scale back down, which worked great, as long as the current disk usage was within the new limit. I’ve found it very odd that such a feature existed and worked well for the API, but was not available to the regular user through the interface.

    However, today this does not seem to work anymore.

    I’ve made sure the current disk usage is small enough (currently at about 25%) and I’m trying to go from db-s-4vcpu-8gb back to size db-s-2vcpu-4gb, but I’m getting the following message:

    {“message”:“requested plan size is too small”,“id”:“unprocessableentity”,“requestid”:“89a7a2a6-11a4-4b8a-9370-a08fd3c597b5”}

    Any ideas?