Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fsLWO-0000S4-Pz for pgsql-admin@arkaria.postgresql.org; Wed, 22 Aug 2018 05:17:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fsLWN-0001xB-2f for pgsql-admin@arkaria.postgresql.org; Wed, 22 Aug 2018 05:17:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fsLWM-0001wc-NB for pgsql-admin@lists.postgresql.org; Wed, 22 Aug 2018 05:17:30 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fsLWK-0006hb-05 for pgsql-admin@postgresql.org; Wed, 22 Aug 2018 05:17:29 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 4DA1CEB0870B for ; Tue, 21 Aug 2018 22:17:27 -0700 (MST) Date: Tue, 21 Aug 2018 22:17:27 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1534915047270-0.post@n3.nabble.com> In-Reply-To: References: Subject: Re: Can I synchronize two master DB clusters except BDR ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Lee, >(1) Retain postgresql-10 server and find some method to synchronize two master DB clusters. >- I know logical replication cannot deal with my problem. ( it's one direction only ) > - Is there other method to use ? Unfortunately, no >(2) Downgrade my DB server to 9.4 and use BDR1 for synchronizing. > - As I know, I can use BDR1 for free now. > - I'm using basic functions of postgresql-10 so I think downgrading itself > may not cause big problem. But >I'm worrying about unknown problem. > - Are 9.4 and 10 different significantly? Yes, Postgres 10 incorporated many a features in it. > - Can I upgrade my 9.4 data to 10 later ? This is what I really worry > about. I think you could upgrade. >Could you give me any idea ? One thing that strikes my mind is how you configure Logical Replication from publisher to subscriber, same way you can do it for subscriber too. But tried it, and it seemed to fail due to the replica_identity set or due to primary key(orelse, we will end up with redundant data) Refer the below link: https://blog.dbi-services.com/can-i-have-the-same-table-published-and-subscribed-bi-directional-in-postgresql-10-logical-replication/ Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html