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 1fwjdB-0008Im-5a for pgsql-admin@arkaria.postgresql.org; Mon, 03 Sep 2018 07:50:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwjd8-0000Do-JP for pgsql-admin@arkaria.postgresql.org; Mon, 03 Sep 2018 07:50:38 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fwjd8-0000Dg-Bu for pgsql-admin@lists.postgresql.org; Mon, 03 Sep 2018 07:50:38 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwjd0-0006W1-T9 for pgsql-admin@postgresql.org; Mon, 03 Sep 2018 07:50:37 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id C67D6EE609A1 for ; Mon, 3 Sep 2018 00:50:28 -0700 (MST) Date: Mon, 3 Sep 2018 00:50:28 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1535961028810-0.post@n3.nabble.com> In-Reply-To: <5b79452e-cec6-c93c-76de-968be43be45e@matrix.gatewaynet.com> References: <1535792170623-0.post@n3.nabble.com> <5b79452e-cec6-c93c-76de-968be43be45e@matrix.gatewaynet.com> Subject: Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4 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 Achilleas, But the logical Replication is working fine. I mean to say that the data is replicating between Publisher and Subscriber. I have problem only with my logs. Most common errors found on my Subscriber are: 1. duplicate key value violates unique constraint 2. worker process: logical replication worker for subscription 6992680 sync 694478 (PID 13459) exited with exit code 1 3. logical replication table synchronization worker for subscription ""subscription_name"", table ""tbl_A"" has started >>Either you created the subscription while the subscriber already had existing data in the tables, or you are inserting/updating dataI or Ds/keys on the subscriber that cause the problem . Even if I did that it will face this error the very first time it is trying to establish sync between publisher and subscriber but not every time(correct me if I am wrong) The 2'nd & 3'rd are not actually ERRORS. They are LOG messages. Please suggest me if I went wrong somewhere. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html