Question

Downgrade managed database (Error 412)

My aim is to reduce the size of my Redis/Postgres cluster to 1GB from 2 GB using the API:

doctl database resize DATABASE_ID --size db-s-1vcpu-1gb --num-nodes=1

However, I’m encountering the following error message:

Error: PUT https://api.digitalocean.com/v2/databases/DATABASE_ID/resize: 412 (request "95e7feb9-8524-4b69-b98e-edddc98cd6ff") not enabled for this feature

Any ideas?


Submit an answer


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!

Sign In or Sign Up to Answer

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.

alexdo
Site Moderator
Site Moderator badge
March 11, 2023

Hello there,

Alternatively, you can resize the database cluster to resize your choice using DO API/DOCTL CLI.

You can check the comment from Rajkishore here:

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

Regards

Bobby Iliev
Site Moderator
Site Moderator badge
March 6, 2023

Hey @hidinglightcyananemone,

In addition to what KFSys has mentioned already, the best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

Hope that helps!

- Bobby.

KFSys
Site Moderator
Site Moderator badge
March 3, 2023

Hey @hidinglightcyananemone,

At the moment Digitalocean does not support scaling down of a Managed database cluster from the UI, You can read about limitations here:

https://docs.digitalocean.com/products/databases/mysql/details/limits/

To move from a bigger node to a smaller node, create a new cluster with the desired node size and import your data.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.