pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Banck <michael.banck@credativ.de>
To: Yambu <hyambu@gmail.com>
Cc: Atul Kumar <akumar14871@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: master and slave at same time
Date: Wed, 6 Jan 2021 14:36:50 +0100
Message-ID: <5ff5bcf3.1c69fb81.b3a00.3749@mx.google.com> (raw)
In-Reply-To: <CALhHtcCO2S4ZtQHu8_x_6O4iSTz0BXV31tSFV-UKkKoKZe=9pA@mail.gmail.com>
References: <CALhHtcA=HxYHYOTyifJT1Zr=ORnHQfRbpdUgmo=g6Xdb5mKThA@mail.gmail.com>
	<CA+ONtZ7i8dsP6rnANJzrY7HrL-x4Lz90gQQ0-58_AP5h08+ETA@mail.gmail.com>
	<CALhHtcCO2S4ZtQHu8_x_6O4iSTz0BXV31tSFV-UKkKoKZe=9pA@mail.gmail.com>

On Wed, Jan 06, 2021 at 03:31:32PM +0200, Yambu wrote:
> If i use logical replication , can i not make it work?

Well yes, you can write to the subscriber if you use logical
replication.

However, there are severe drawbacks in this, e.g. you will have to
resolve conflicts yourself, DDL isn't possible unless you do it
manually, sequences are not replicated etc. pp.

Logical replication for itself is not a general HA tool for Postgres
right now but if implemented carefully can be used for some use cases
like merging several databases into a data warehouse or carefully only
changing data locally.


Michael

-- 
Michael Banck
Projektleiter / Senior Berater
Tel.: +49 2166 9901-171
Fax:  +49 2166 9901-100
Email: michael.banck@credativ.de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer

Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz





view thread (4+ messages)

Message-ID: <5ff5bcf3.1c69fb81.b3a00.3749@mx.google.com>
Permalink:  ../5ff5bcf3.1c69fb81.b3a00.3749@mx.google.com/
Also on:    postgresql.org/message-id/5ff5bcf3.1c69fb81.b3a00.3749@mx.google.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: michael.banck@credativ.de, hyambu@gmail.com, akumar14871@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: master and slave at same time
  In-Reply-To: <5ff5bcf3.1c69fb81.b3a00.3749@mx.google.com>

* 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