Question

How Managed database standby node works if datacenter is down?

Hi. I cannot find answer to my question in documentation. How managed database standby nodes work when datacenter is offline? Will it replicate on different datacenter? If not is ther a way to setup managed databse (postgressql in my case) to replicate across two different datacenters? (I’m thinking about disaster recovery scenarios.)


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.

Bobby Iliev
Site Moderator
Site Moderator badge
October 27, 2024
Accepted Answer

Hello HenrykZaborowski!

DigitalOcean’s Managed Databases do offer high availability features, but standby nodes by default are usually within the same data center to minimize latency. If the primary data center goes down, the standby node takes over only within that same data center. With that said, a data center going down is highly unlikely, thanks to the robust infrastructure and multiple layers of redundancy that DigitalOcean has in place.

DigitalOcean data centers rarely experience full outages, as they are designed with significant redundancy and operational safeguards. I don’t recall any such events in the past few years based on the status page here:

https://status.digitalocean.com/

One option here to for your disaster recovery plan is, you could set up a read replica in a different DigitalOcean data center. While it wouldn’t be an automatic failover, in case of a primary data center outage, you could promote this read replica to become the primary node:

https://docs.digitalocean.com/products/databases/postgresql/how-to/add-read-only-nodes/#promote-a-read-only-node-to-become-a-primary-node

In addition to that, 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.

Try DigitalOcean for free

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

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

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

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.