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: logical Replication
Date: Mon, 20 Aug 2018 00:04:21 -0700 (MST)
Message-ID: <1534748661624-0.post@n3.nabble.com> (raw)
In-Reply-To: <d6ed4da6-2cde-77f2-77bd-8e0d921fc61f@matrix.gatewaynet.com>
References: <emb84ebd01-d8b2-403e-b8ff-861bedd4b18d@iboss01081>
	<CAGDYbUNCC+7rUw_P_xmjgYFpQdaZ6LsjxkzkvNYgV4oRAfMVwg@mail.gmail.com>
	<em58730ba1-a0a7-4e63-a20d-ae8bd3076716@iboss01081>
	<1534224580242-0.post@n3.nabble.com>
	<emeb045759-a361-420c-a956-011d96e0e4f4@iboss01081>
	<1534746282900-0.post@n3.nabble.com>
	<b4aa40be-d9af-de0e-c9dd-e4e42da0b0df@matrix.gatewaynet.com>
	<1534747341264-0.post@n3.nabble.com>
	<d6ed4da6-2cde-77f2-77bd-8e0d921fc61f@matrix.gatewaynet.com>

>> 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




view thread (31+ messages)  latest in thread

Message-ID: <1534748661624-0.post@n3.nabble.com>
Permalink:  ../1534748661624-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1534748661624-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: logical Replication
  In-Reply-To: <1534748661624-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