Question

How to scale back managed database to a smaller cluster?

Posted June 2, 2021 67 views
DigitalOcean Managed PostgreSQL DatabaseDigitalOcean Managed MySQL Database

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?

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
1 answer

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