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: Mon, 3 Sep 2018 00:50:28 -0700 (MST)
Message-ID: <1535961028810-0.post@n3.nabble.com> (raw)
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>

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




view thread (21+ messages)  latest in thread

Message-ID: <1535961028810-0.post@n3.nabble.com>
Permalink:  ../1535961028810-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1535961028810-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: <1535961028810-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