pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4
Date: Tue, 4 Sep 2018 14:30:35 +0300
Message-ID: <a0512981-1014-bede-5122-3b6dc27f9f7f@matrix.gatewaynet.com> (raw)
In-Reply-To: <1536056608564-0.post@n3.nabble.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>
	<1536056608564-0.post@n3.nabble.com>

On 04/09/2018 13:23, pavan95 wrote:
> 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.
 From the deferential part. It will replicate from the last successful position onward.
It is all in the docs.
>
> Regards,
> Pavan
>
>
>
> --
> Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html
>

-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt





view thread (21+ messages)  latest in thread

Message-ID: <a0512981-1014-bede-5122-3b6dc27f9f7f@matrix.gatewaynet.com>
Permalink:  ../a0512981-1014-bede-5122-3b6dc27f9f7f@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/a0512981-1014-bede-5122-3b6dc27f9f7f@matrix.gatewaynet.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: achill@matrix.gatewaynet.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4
  In-Reply-To: <a0512981-1014-bede-5122-3b6dc27f9f7f@matrix.gatewaynet.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