Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4
Date: 2018-09-04 07:48:26
Message-ID: c8e8b1cc-dede-0d90-2476-f16cfe543564@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Praneel Devisetty 2018-09-04 07:48:52 User to get locked after three wrong login attempts.
Previous Message pavan95 2018-09-04 07:12:15 Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4