Re: PostgreSQL Active-Active - Mailing list pgsql-general

From Stephen Frost
Subject Re: PostgreSQL Active-Active
Date
Msg-id 20180206111601.GI2416@tamriel.snowman.net
Whole thread Raw
In response to Re: PostgreSQL Active-Active  (Andreas Kretschmer <andreas@a-kretschmer.de>)
List pgsql-general
Greetings,

* Andreas Kretschmer (andreas@a-kretschmer.de) wrote:
> Am 06.02.2018 um 12:01 schrieb Dhandapani Shanmugam:
> >Do we have active-active setup in postgreSQL, like we have in oracle RAC?.
> >Sorry if this question has been addressed already. What will be best open
> >source HA for postgresql with zero RTO and RPO.
>
> we have BDR, but this isn't the same as Oracle RAC. BDR is more for
> replication over long distances (around the globe), and BDR isn't a solution
> for HA.

BDR and logical replication are options but that's independent of the
"zero" RTO/RPO goal.  If you're looking for write-scaling, that's a
different question (note that to actually get real write-scaling, even
with Oracle RAC, you have to be prepared to make app-level changes..).

> For HA you should consider normal streaming replication and our repmgr, for
> instance. And for Backup (RTO, RPO) our Barman.

There's a number of different options both for managing streaming
replication and for backup.  As mentioned, Patroni is quite good for HA
requirements and for for backup, I'd suggest also considering
pgbackrest: http://pgbackrest.org

Thanks!

Stephen

Attachment

pgsql-general by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: PostgreSQL Active-Active
Next
From: Magnus Hagander
Date:
Subject: Re: Pgcrypto (PostgreSQL 10) on Debain 9?