pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PALAYRET Jacques <jacques.palayret@meteo.fr>
To: pgsql-general@lists.postgresql.org
Subject: Re: One way replication in PostgreSQL
Date: Tue, 4 Jun 2019 09:02:45 +0200 (CEST)
Message-ID: <573925547.9500307.1559631765591.JavaMail.zimbra@meteo.fr> (raw)
In-Reply-To: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr>
References: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr>

Hello, 

Thanks a lot for the suggested solutions. 

So, I can use WAL-shipping replication from Primary to the Secundary server, but it's only for full replication. 

Let's call " P " the provider/primary/master and " S " the subscriber/secundary/slave one. 
For partial replication (not all the tables), the solutions should use a third (intermediate / middle) server which could have both ways flow with the server P but only one way flow towards the server S. 
For example, a logical replication (pglogical or logical Postgresql replication) between server P and the middle server and then a WAL-shipping replication between middle server and server S. 
Is that right ? 

About the " FDW " solution in " an external server " (a middle one), is it possible to integrate the FDW in the P server to avoid the " external server " ? 

=> What about the trigger-based replication systems like Slony or Londiste ; is it really necessary to have a connection or flow from the server S towards the server P ? 

Regards 

De: "PALAYRET Jacques" <jacques.palayret@meteo.fr> 
À: pgsql-general@lists.postgresql.org 
Envoyé: Lundi 3 Juin 2019 18:00:51 
Objet: One way replication in PostgreSQL 

Hello, 

If, for security reasons, I can't create a connection or a flow from subscriber/secundary/slave towards provider/primary/master, witch replication systems can I use ? 

If possible, I would prefer partial replication (only some tables) to full base replication (all instances). 

Do trigger-based replication systems (like Slony or Londiste or others) need a connection or flow from subscriber to the provider ? 

Thanks in advance 
----- Météo-France ----- 
PALAYRET JACQUES 
DCSC/MBD 
jacques.palayret@meteo.fr 
Fixe : +33 561078319 

view thread (8+ messages)  latest in thread

Message-ID: <573925547.9500307.1559631765591.JavaMail.zimbra@meteo.fr>
Permalink:  ../573925547.9500307.1559631765591.JavaMail.zimbra@meteo.fr/
Also on:    postgresql.org/message-id/573925547.9500307.1559631765591.JavaMail.zimbra@meteo.fr

 · 

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 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: jacques.palayret@meteo.fr
  Subject: Re: One way replication in PostgreSQL
  In-Reply-To: <573925547.9500307.1559631765591.JavaMail.zimbra@meteo.fr>
  References: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr> <573925547.9500307.1559631765591.JavaMail.zimbra@meteo.fr>

* 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