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 1fwiMp-00040a-U1 for pgsql-admin@arkaria.postgresql.org; Mon, 03 Sep 2018 06:29:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwiMo-0000w2-6W for pgsql-admin@arkaria.postgresql.org; Mon, 03 Sep 2018 06:29:42 +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 1fwiLn-00055N-CH for pgsql-admin@lists.postgresql.org; Mon, 03 Sep 2018 06:28:39 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fwiLj-0004nO-8u for pgsql-admin@postgresql.org; Mon, 03 Sep 2018 06:28:37 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 9F000EE57BC2 for ; Sun, 2 Sep 2018 23:28:34 -0700 (MST) Date: Sun, 2 Sep 2018 23:28:34 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1535956114648-0.post@n3.nabble.com> In-Reply-To: References: <1535792170623-0.post@n3.nabble.com> <1535952517864-0.post@n3.nabble.com> <1535954598462-0.post@n3.nabble.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 Soumitra, Actually speaking there is no duplicacy of the records. This error is occurring on the subscriber side of the logical replication. And the data on publisher is same as the data in subscriber. So there is no point of mismatch in data integrity. And I think this error is caused because logical replication worker is trying the sync the already synced rows from publisher to subscriber. In a day it is occurring approximately 5264718 times. This is causing heavy logging at the subscriber. I think you got my problem. Environment: The environment is two ubuntu boxes configured with Logical Replication on Postgres 10.4. And the error flooding is occurring on the subscriber side. Thanks in Advance. Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html