Re: logical Replication - Mailing list pgsql-admin

From pavan95
Subject Re: logical Replication
Date
Msg-id 1534748661624-0.post@n3.nabble.com
Whole thread Raw
In response to Re: logical Replication  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Responses Re: logical Replication  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
List pgsql-admin
>> But When I insert data in the publisher, And perform a check on the 
>> subscriber, it is not getting replicated(most of the times) until I drop
>> and 
>> recreate my SUBSCRIPTION.

>OS? (Linux, BSD, etc) 
*Ubuntu 16.04.5 LTS*
>PostgreSQL Version? 
*PostgreSQL 10.4 (Ubuntu 10.4-2.pgdg16.04+1) on x86_64-pc-linux-gnu,
compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609, 64-bit*
>Also give the current settings of wal_receiver_timeout , wal_sender_timeout
, increasing those to '5 min' solved my issues. 
*1) wal_receiver_timeout: 1min
2) wal_sender_timeout:   1min*

How increasing above params related to the replication lag? 

Looking forward hearing from you!!!


Regards,
Pavan



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


pgsql-admin by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: logical Replication
Next
From: Achilleas Mantzios
Date:
Subject: Re: logical Replication