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
Answer a question...

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.