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?
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.
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.
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
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.
Hope that helps!
- Bobby.
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.