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: Tue, 4 Sep 2018 03:23:28 -0700 (MST)
Message-ID: <1536056608564-0.post@n3.nabble.com> (raw)
In-Reply-To: <c8e8b1cc-dede-0d90-2476-f16cfe543564@matrix.gatewaynet.com>
References: <1535792170623-0.post@n3.nabble.com>
	<5b79452e-cec6-c93c-76de-968be43be45e@matrix.gatewaynet.com>
	<1535961028810-0.post@n3.nabble.com>
	<ba731059-dfd7-2d34-b3a5-83a20b564a1d@matrix.gatewaynet.com>
	<1535963171985-0.post@n3.nabble.com>
	<6bb2a6ba-0425-c81c-baa9-8e56b56072df@matrix.gatewaynet.com>
	<1536040715349-0.post@n3.nabble.com>
	<771014ee-d282-f6db-911f-bfedac56c838@matrix.gatewaynet.com>
	<1536045135431-0.post@n3.nabble.com>
	<c8e8b1cc-dede-0d90-2476-f16cfe543564@matrix.gatewaynet.com>

Dear Achilleas,

>Start from scratch: 
>- drop the subscription 
>- truncate all tables on the subscriber side (or drop the database and
recreate with --schema-only) 
>- recreate the subscription 

Done with this. Will check for any duplicate key violation errors. But have
one small doubt. Think we have a table named "country" where in which 1000
records are present and it is replicated till date(all the 1000 rows are
same on both publisher and subscriber).

Now when an application user tries to insert another 50 records will the
replication for "country" table now starts for the differential part, that
is 50 records or it starts from the scratch?? How is this behaving at this
juncture? Eagerly waiting for your response.

Regards,
Pavan



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




view thread (21+ messages)  latest in thread

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