Live data from Hacker News

Why PostgreSQL High Availability Matters and How to Achieve It

yugabyte.com

21–30 of 86 posts

Re: Why PostgreSQL High Availability Matters and How to Achieve It

#21

Earlier quoted context omitted.

What's the self-hosted Postgres HA story these days?

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...

What about BU/DR? Is walg still the best?

Re: Why PostgreSQL High Availability Matters and How to Achieve It

#23

I wished AWS, Google and others would also add a Citus solution. I fear that once migrated to Citus, we face the full price pressure from the Azure monopoly.

Google will never touch Citus because it is AGPL licensed[0], I wouldn't be surprised if the other cloud providers have similar policies. [0] https://opensource.google/documentation/reference/using/agpl...

Citus is owned by Microsoft as well.

https://blogs.microsoft.com/blog/2019/01/24/microsoft-acquir...

Re: Why PostgreSQL High Availability Matters and How to Achieve It

#24

Earlier quoted context omitted.

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...

How are major version upgrades handled on PGAF these days? Last time I used it (it's amazing), there wasn't a great path forward for minimal-downtime major version upgrades.

Same.

But major upgrades are only available once a year.

Re: Why PostgreSQL High Availability Matters and How to Achieve It

#25

Earlier quoted context omitted.

Google will never touch Citus because it is AGPL licensed[0], I wouldn't be surprised if the other cloud providers have similar policies. [0] https://opensource.google/documentation/reference/using/agpl...

Citus is owned by Microsoft as well. https://blogs.microsoft.com/blog/2019/01/24/microsoft-acquir...

Yes, the company, but the plugin is some sort of open source.

Re: Why PostgreSQL High Availability Matters and How to Achieve It

#26

Earlier quoted context omitted.

Or, uh, just self host.

What's the self-hosted Postgres HA story these days?

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 Achieve It

#28

I wished AWS, Google and others would also add a Citus solution. I fear that once migrated to Citus, we face the full price pressure from the Azure monopoly.

Google has Spanner. AWS is working on something similar. And both have YugabyteDB in their marketplace. Those are Distributed SQL (Global ACID), not Citus. For DataWarehouse which doesn't need ACID, there are other services.

Re: Why PostgreSQL High Availability Matters and How to Achieve It

#29
I just implemented master with read replica with the bitnami postgres-repmgr image. It's not perfect, but it works and running my own instances in aws instead of rds is going to save me close to 80% when i also add in purchasing a savings plan. By setting this up I've learned more about postgres than i ever ever wanted too. lol

Re: Why PostgreSQL High Availability Matters and How to Achieve It

#30

I wished AWS, Google and others would also add a Citus solution. I fear that once migrated to Citus, we face the full price pressure from the Azure monopoly.

Google will never touch Citus because it is AGPL licensed[0], I wouldn't be surprised if the other cloud providers have similar policies. [0] https://opensource.google/documentation/reference/using/agpl...

I personally don't consider the AGPL to be a free software nor open source license. The burden it places on operating and using the software sufficiently violates freedom 0 in my view.
Post reply on HN