Report this

What is the reason for this report?

How to scale back managed database to a smaller cluster?

Posted on June 2, 2021
Priyanka Malik

By Priyanka Malik

Developer Support Engineer ||

During a traffic spike, we scaled up our database to higher plan. Now that traffic has slowed we would like to scale this back.

Is it possible to scale back managed database cluster from the higher plan size to lower plan size?

What is the process for doing so?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi,

At the moment we do not support scaling down of a database cluster from the UI, You can read about limitations here:  https://docs.digitalocean.com/products/databases/mysql/#limits https://docs.digitalocean.com/products/databases/postgresql/#limits

but you can resize the database cluster to the size of your choice using our API. Please check the below documentation: https://developers.digitalocean.com/documentation/v2/#resize-a-database-cluster Also, you could take a backup of your database and import the data into a smaller database. I am including documentation for your review.

https://docs.digitalocean.com/products/databases/mysql/how-to/import-databases/ https://docs.digitalocean.com/products/databases/postgresql/how-to/import-databases/

Regards Priyanka

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.