pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Active-Passive DB
2+ messages / 2 participants
[nested] [flat]

* Active-Passive DB
@ 2019-11-22 08:55  rutuparna andhare <rsandhare@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: rutuparna andhare @ 2019-11-22 08:55 UTC (permalink / raw)
  To: pgsql-general

Hi PG,
     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.

Thanks
Rutu

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Active-Passive DB
@ 2019-11-22 08:59  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: rutuparna andhare <rsandhare@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2019-11-22 08:59 UTC (permalink / raw)
  To: rutuparna andhare <rsandhare@gmail.com>; 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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-11-22 08:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-11-22 08:55 Active-Passive DB rutuparna andhare <rsandhare@gmail.com>
2019-11-22 08:59 ` Laurenz Albe <laurenz.albe@cybertec.at>

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