News for hackers. Stuff that matters.
Re:Why PostgreSQL High Availability Matters and How to Achie... by BrentOzar on Wednesday June 14, 2023 @12:20PM (#36328240)
Or, uh, just use AWS RDS Aurora.
Re:Why PostgreSQL High Availability Matters and How to Achie... by franckpachot on Wednesday June 14, 2023 @12:25PM (#36328319)
“Multi-AZ” in Amazon RDS and how it may differ from High Availability: https://dev.to/aws-heroes/multi-az-in-amazon-rds-and-how-it-...
Re:Why PostgreSQL High Availability Matters and How to Achie... by chzblck on Wednesday June 14, 2023 @12:23PM (#36328280)
How did that work out for people in the east region yesterday?
Re:Why PostgreSQL High Availability Matters and How to Achie... by proleisuretour on Wednesday June 14, 2023 @12:25PM (#36328318)
not good lol
Re:Why PostgreSQL High Availability Matters and How to Achie... by proleisuretour on Wednesday June 14, 2023 @12:29PM (#36328368)
yeah... no burgers or tacos https://www.theverge.com/2023/6/13/23759857/amazon-aws-down-...

that's WHY you need at least a multi-region HA database for your apps

Re:Why PostgreSQL High Availability Matters and How to Achie... by cebsoto on Wednesday June 14, 2023 @12:37PM (#36328523)
No Roomba either. No multi-tasking housework while you work.
Re:Why PostgreSQL High Availability Matters and How to Achie... by paulddraper on Wednesday June 14, 2023 @12:53PM (#36328797)
Perfectly for me.

(Maybe if I had used IAM auth for the database it wouldn't have?)

Re:Why PostgreSQL High Availability Matters and How to Achie... by Topgamer7 on Wednesday June 14, 2023 @12:22PM (#36328270)
Or, uh, just self host.
Re:Why PostgreSQL High Availability Matters and How to Achie... by whitepoplar on Wednesday June 14, 2023 @12:23PM (#36328290)
What's the self-hosted Postgres HA story these days?
Re:Why PostgreSQL High Availability Matters and How to Achie... by porsager on Wednesday June 14, 2023 @12:27PM (#36328342)
pg_auto_failover makes it an absolute breeze. I cannot understand how it's not mentioned in the article.

I've been runnning it for over 3 years with great success, and 0 downtime. Not to mention the extreme price difference compared to managed solutions - https://github.com/hapostgres/pg_auto_failover/discussions/6...

Re:Why PostgreSQL High Availability Matters and How to Achie... by whitepoplar on Wednesday June 14, 2023 @12:31PM (#36328416)
How are major version upgrades handled on PGA these days? Last time I used it (it's amazing), there wasn't a great path forward for minimal-downtime major version upgrades.
Re:Why PostgreSQL High Availability Matters and How to Achie... by paulddraper on Wednesday June 14, 2023 @12:54PM (#36328818)
Same.

But major upgrades are only available once a year.

Re:Why PostgreSQL High Availability Matters and How to Achie... by mistrial9 on Wednesday June 14, 2023 @12:32PM (#36328425)
zero downtime for three years - congrats !
Re:Why PostgreSQL High Availability Matters and How to Achie... by candiddevmike on Wednesday June 14, 2023 @12:47PM (#36328684)
What about BU/DR? Is walg still the best?
Re:Why PostgreSQL High Availability Matters and How to Achie... by vbezhenar on Wednesday June 14, 2023 @01:01PM (#36328922)
I hosted postgres with cnpg operator in kubernetes. It does everything automagically: backups, wal backups and high-availability. Can't say nothing bad about it, it just worked for me. My only issue is that it releases versions too fast, I'd prefer some more relaxed schedule, but that's probably just me.
Re:Why PostgreSQL High Availability Matters and How to Achie... by franckpachot on Wednesday June 14, 2023 @01:14PM (#36329136)
On self-hosted you can use the same as what cloud vendors are doing. Patroni or pg_auto_failover to manage single-primary + replicas. Maybe Neon to run an Aurora-like. CitusData... Azure did a lot around to get elasticity. Not easy to do the same. YugabyteDB on Kubernetes can be a cloud-native self-hosted solution
Re:Why PostgreSQL High Availability Matters and How to Achie... by whitepoplar on Wednesday June 14, 2023 @01:18PM (#36329207)
Which cloud vendors are using PGAF?
Re:Why PostgreSQL High Availability Matters and How to Achie... by rad_gruchalski on Wednesday June 14, 2023 @01:19PM (#36329214)
YugabyteDB can be self-hosted.
Re:Why PostgreSQL High Availability Matters and How to Achie... by rad_gruchalski on Wednesday June 14, 2023 @01:17PM (#36329179)
This is a completely different story. YugabyteDB is about transparent sharding and shard horizontal scalability. Every table is split into tablets. A tablet can be thought of as a shard but one still thinks of a table as a whole. Each tablet is replicated. Replicas can be placed in different regions, even in different computing environments. Want to run it across clouds or span the cloud and bare metal? Ignoring the cost and minding latency, why not. It’s still logical single database with whole tables. Want to put some rows in selected regions? No problem, still one logical table. Very different from master-replica architecture.