Re: Active-Passive DB

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: rutuparna andhare <rsandhare(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Active-Passive DB
Date: 2019-11-22 08:59:43
Message-ID: edc3e1707f4ec2501e4e55e57f10701f7ca5951e.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2019-11-22 at 14:25 +0530, rutuparna andhare wrote:
> In PG , can we have Active1 , Passive1 , Passive2 cluster.
> Now all active1 data is present in passive1 and 2.
> but when any delete query runs on active1 , same should get replicated on passive1 But delete should not get triggered on passive2.
>
> so passive2 can be used as archival db.
> if active1 fails then , passive1 will become active2.

You would need logical replication for passive2.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2019-11-22 09:07:04 Re: Extract transactions from wals ??
Previous Message rutuparna andhare 2019-11-22 08:55:59 Active-Passive DB