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 10:48:26 +0300
Message-ID: <c8e8b1cc-dede-0d90-2476-f16cfe543564@matrix.gatewaynet.com> (raw )
In-Reply-To: <1536045135431-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 >
On 04/09/2018 10:12, pavan95 wrote:
> Hi Achilleas/David,
>
> So like what you have said, making the subscriber table structure(only)
> ready will sort out this issue?
>
> If yes, I will drop the existing replication and start from the scratch. Or
> else like what David had suggested is truncating all the tables sufficient??
> Please confirm.
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
In the mid of the summer we went through deploying logical replication for the first time, and it took a considerable amount of testing, and planning, e.g. which tables you want, which you dont want,
from the ones you want do they have unique keys, etc, and still I didn't get it right from the first go.
>
> Looking forward to hear from you!!.
>
> Finding my way interesting in this logical replication. And thanks team for
> your wonderful support.
>
> 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: <c8e8b1cc-dede-0d90-2476-f16cfe543564@matrix.gatewaynet.com>
Permalink: ../c8e8b1cc-dede-0d90-2476-f16cfe543564@matrix.gatewaynet.com/
Also on: postgresql.org/message-id/c8e8b1cc-dede-0d90-2476-f16cfe543564@matrix.gatewaynet.com
copy link · copy postgr.es
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: <c8e8b1cc-dede-0d90-2476-f16cfe543564@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