How it works
An availability target is a budget of downtime. A 30-day month has 43,200 minutes, so 99% allows 432 minutes down, 99.5% allows 216, 99.9% allows 43.2, and 99.99% allows 4.32. At 4.32 minutes a paged person cannot reliably respond in time, so failover must be automated. Ask what customers and their contracts actually need.
The recovery point objective (RPO) is how much recent data you can afford to lose, measured in time. The recovery time objective (RTO) is how long you can take to come back. Nightly backups alone mean an RPO of up to 24 hours. Continuous archiving of the database’s write-ahead log allows point-in-time recovery to just before a bad change. A replica is not a backup: an accidental DELETE reaches it too.
Until you have restored a backup, you do not know whether it works or how long it takes. Restore on a schedule and time it. As an example, restoring 500 GB at 100 MB/s takes 5,000 seconds, about 83 minutes, before any log replay. That one restore would spend nearly twice a 99.9% month’s budget.
Multi-region is often not the first step. A bad deploy or an expired certificate can reach both regions, and a second region usually means asynchronous replication (failover can lose recent writes), more infrastructure, and failovers to rehearse. Start with tested restores, safe deploys, and a standby in a second availability zone (an isolated location in the same region). A contract requiring survival of a regional outage, a data residency law, or measured latency for distant users can justify more.
A prospect’s questionnaire asks whether you are multi-region, and the contract asks for 99.9% availability with an RPO of 1 hour. You run one Postgres primary in one zone, with nightly backups that nobody has restored. What do you do, and how do you answer?
Nightly backups can lose up to 24 hours, which misses the 1-hour RPO. Turn on continuous log archiving for point-in-time recovery, add a standby in a second zone, and run a timed restore. Then answer plainly: single region, multi-zone, with your tested RPO and RTO, and ask what risk the question is really about. Multi-region becomes worth pricing if the contract must survive a regional outage or a law requires data in a specific place.
Use this as a guide for self review; written answers are not graded.Keep in mind
- 99.9% allows 43.2 minutes of downtime in a 30-day month.
- Until you have restored a backup and timed it, you do not know your recovery time.
- Zone redundancy and safe deploys usually come before a second region.