Re: Postgresql active-active nodes in cluster

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Vidyashree H S <Shreevidya(dot)hs(at)exaleapsemi(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Kashif Zeeshan <kashi(dot)zeeshan(at)gmail(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Postgresql active-active nodes in cluster
Date: 2024-05-13 14:13:54
Message-ID: CAKAnmm+ZXJ2TxhWSj9CJ_2MtaSxKqqT5kvEhqvb=X3s7g4KgTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 13, 2024 at 2:53 AM Vidyashree H S <
Shreevidya(dot)hs(at)exaleapsemi(dot)com> wrote:

>
> - Is that multi master replication is not recommended to do ?
>
>
No, it is not recommended, as it has a very, very narrow use case, and
comes with a lot of drawbacks. Sure, you COULD configure your car to also
be able to ride across the river like a boat, but it's far easier to use a
bridge, or a barge. And now your car is harder to care for, and has a lot
more ways in which it could break.

>
> - If we can do, can I get any resource for implementing that on
> PostgreSQL which is open-source?
>
> You still have not told us your use case. That can help us to guide you to
the right solution. But for totally open source solutions there are not
many out there. Here are some:

* https://github.com/JumpMind/symmetric-ds
* https://github.com/bucardo/bucardo

You can also in theory use logical replication if at least version 16:

* https://www.crunchydata.com/blog/active-active-postgres-16

Cheers,
Greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Rowley 2024-05-13 14:15:45 Re: SELECT DISTINCT chooses parallel seqscan instead of indexscan on huge table with 1000 partitions
Previous Message Zwettler Markus (OIZ) 2024-05-13 14:10:49 how to completely turn off statement error logging