Re: Postgresql active-active nodes in cluster - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Postgresql active-active nodes in cluster
Date
Msg-id CAKAnmm+ZXJ2TxhWSj9CJ_2MtaSxKqqT5kvEhqvb=X3s7g4KgTg@mail.gmail.com
Whole thread Raw
In response to Re: Postgresql active-active nodes in cluster  (Vidyashree H S <Shreevidya.hs@exaleapsemi.com>)
List pgsql-general
On Mon, May 13, 2024 at 2:53 AM Vidyashree H S <Shreevidya.hs@exaleapsemi.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:


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



Cheers,
Greg

pgsql-general by date:

Previous
From: "Zwettler Markus (OIZ)"
Date:
Subject: how to completely turn off statement error logging
Next
From: David Rowley
Date:
Subject: Re: SELECT DISTINCT chooses parallel seqscan instead of indexscan on huge table with 1000 partitions