Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hY3TD-0003Ke-42 for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2019 07:02:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hY3TB-0004UF-QE for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2019 07:02:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hY3TB-0004MJ-Gi for pgsql-general@lists.postgresql.org; Tue, 04 Jun 2019 07:02:53 +0000 Received: from smtp-zimbra.meteo.fr ([137.129.16.22] helo=celebrian1.meteo.fr) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1hY3T6-0001Jx-6O for pgsql-general@lists.postgresql.org; Tue, 04 Jun 2019 07:02:51 +0000 Received: from localhost (localhost [127.0.0.1]) by celebrian1.meteo.fr (Postfix) with ESMTP id 178B61C2165 for ; Tue, 4 Jun 2019 09:02:46 +0200 (CEST) Received: from celebrian1.meteo.fr ([127.0.0.1]) by localhost (celebrian1.meteo.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id iQLqvzrvwJB3 for ; Tue, 4 Jun 2019 09:02:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by celebrian1.meteo.fr (Postfix) with ESMTP id EBD821C2179 for ; Tue, 4 Jun 2019 09:02:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at celebrian1.meteo.fr Received: from celebrian1.meteo.fr ([127.0.0.1]) by localhost (celebrian1.meteo.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ulbAbYXdC8U8 for ; Tue, 4 Jun 2019 09:02:45 +0200 (CEST) Received: from zumba5.meteo.fr (zumba5 [172.31.9.201]) by celebrian1.meteo.fr (Postfix) with ESMTP id CA6A81C2165 for ; Tue, 4 Jun 2019 09:02:45 +0200 (CEST) Date: Tue, 4 Jun 2019 09:02:45 +0200 (CEST) From: PALAYRET Jacques To: pgsql-general@lists.postgresql.org Message-ID: <573925547.9500307.1559631765591.JavaMail.zimbra@meteo.fr> In-Reply-To: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr> References: <1327243218.9378445.1559577651466.JavaMail.zimbra@meteo.fr> Subject: Re: One way replication in PostgreSQL MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_49d947f5-d6d9-410e-938f-04326b589de7" X-Originating-IP: [172.31.9.205] X-Mailer: Zimbra 8.7.11_GA_1854 (ZimbraWebClient - FF45 (Linux)/8.7.11_GA_1854) Thread-Topic: One way replication in PostgreSQL Thread-Index: s8bBw0tk4NiQgh5Kz8OIacY/fZOGuiKscuXz List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=_49d947f5-d6d9-410e-938f-04326b589de7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello,=20 Thanks a lot for the suggested solutions.=20 So, I can use WAL-shipping replication from Primary to the Secundary server= , but it's only for full replication.=20 Let's call " P " the provider/primary/master and " S " the subscriber/secun= dary/slave one.=20 For partial replication (not all the tables), the solutions should use a th= ird (intermediate / middle) server which could have both ways flow with the= server P but only one way flow towards the server S.=20 For example, a logical replication (pglogical or logical Postgresql replica= tion) between server P and the middle server and then a WAL-shipping replic= ation between middle server and server S.=20 Is that right ?=20 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 serve= r " ?=20 =3D> What about the trigger-based replication systems like Slony or Londist= e ; is it really necessary to have a connection or flow from the server S t= owards the server P ?=20 Regards=20 De: "PALAYRET Jacques" =20 =C3=80: pgsql-general@lists.postgresql.org=20 Envoy=C3=A9: Lundi 3 Juin 2019 18:00:51=20 Objet: One way replication in PostgreSQL=20 Hello,=20 If, for security reasons, I can't create a connection or a flow from subscr= iber/secundary/slave towards provider/primary/master, witch replication sys= tems can I use ?=20 If possible, I would prefer partial replication (only some tables) to full = base replication (all instances).=20 Do trigger-based replication systems (like Slony or Londiste or others) nee= d a connection or flow from subscriber to the provider ?=20 Thanks in advance=20 ----- M=C3=A9t=C3=A9o-France -----=20 PALAYRET JACQUES=20 DCSC/MBD=20 jacques.palayret@meteo.fr=20 Fixe : +33 561078319=20 --=_49d947f5-d6d9-410e-938f-04326b589de7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

Thanks a lot for the sugg= ested 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/secun= dary/slave one.
For partial replication (not all the tables), the soluti= ons 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 replic= ation) between server P and the middle server and then a WAL-shipping repli= cation between middle server and server S.
Is that right ?

About = the " FDW " solution in " an external server " (a middle one), is it possib= le to integrate the FDW in the P server to avoid the " external server " ?<= br>
=3D> 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: "PALA= YRET Jacques" <jacques.palayret@meteo.fr>
=C3=80: pgsql-gen= eral@lists.postgresql.org
Envoy=C3=A9: Lundi 3 Juin 2019 18:00:51=
Objet: One way replication in PostgreSQL

Hello,

If, for se= curity reasons, I can't create a connection or a flow from subscriber/secun= dary/slave towards provider/primary/master, witch replication systems can I= use ?

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

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

Thanks in = advance
----- M=C3=A9t=C3=A9o-France -----
PALAYRET JACQUE= S
DCSC/MBD
jacques.palayret@meteo.fr
Fixe : +33 561078319
<= /div>
--=_49d947f5-d6d9-410e-938f-04326b589de7--