From: Laurenz Albe <laurenz.albe@cybertec.at>
To: rutuparna andhare <rsandhare@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Active-Passive DB
Date: Fri, 22 Nov 2019 09:59:43 +0100
Message-ID: <edc3e1707f4ec2501e4e55e57f10701f7ca5951e.camel@cybertec.at> (raw)
In-Reply-To: <CADND9y72nYrH4EuGB-NxHsT3FjMohyBE7a8DxwQjU7crhvS1pw@mail.gmail.com>
References: <CADND9y72nYrH4EuGB-NxHsT3FjMohyBE7a8DxwQjU7crhvS1pw@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, rsandhare@gmail.com
Subject: Re: Active-Passive DB
In-Reply-To: <edc3e1707f4ec2501e4e55e57f10701f7ca5951e.camel@cybertec.at>
References: <CADND9y72nYrH4EuGB-NxHsT3FjMohyBE7a8DxwQjU7crhvS1pw@mail.gmail.com> <edc3e1707f4ec2501e4e55e57f10701f7ca5951e.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox