pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pavan95 <pavan.postgresdba@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4
Date: Sat, 1 Sep 2018 01:56:10 -0700 (MST)
Message-ID: <1535792170623-0.post@n3.nabble.com> (raw)

Hi Team,

We have successfully configured and tested Logical Replication between
Publisher and Subscriber. But on the Subscriber side we are getting
generated a number of error log files(around 20-30 GB). 

The most common log messages found in the log(/var/log/postgresql/abc.log)
are:
2018-08-26 06:32:09.659 IST [9385] ERROR:  duplicate key value violates
unique constraint "table_pkey"
2018-08-26 06:32:09.637 IST [13919] LOG:  worker process: logical
replication worker for subscription 4858103 sync 189974 (PID 9384) exited
with exit code 1
2018-08-26 06:32:09.638 IST [13919] LOG:  worker process: logical
replication worker for subscription 4858103 sync 188985 (PID 9383) exited
with exit code 1


Some 72 lakh times the above errors are occurring. How to prevent this
behaviour? Kindly assist me!!

Thanks in Advance.

Regards,
Pavan






--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html




view thread (21+ messages)  latest in thread

Message-ID: <1535792170623-0.post@n3.nabble.com>
Permalink:  ../1535792170623-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1535792170623-0.post@n3.nabble.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pavan.postgresdba@gmail.com
  Subject: Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4
  In-Reply-To: <1535792170623-0.post@n3.nabble.com>

* 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