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: logical Replication
Date: Mon, 20 Aug 2018 09:54:40 +0300
Message-ID: <d6ed4da6-2cde-77f2-77bd-8e0d921fc61f@matrix.gatewaynet.com> (raw )
In-Reply-To: <1534747341264-0.post@n3.nabble.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 >
On 20/08/2018 09:42, pavan95 wrote:
> Hi Achilleas,
>
>>> But still the data didn't got replicated.
>>>
>>> But I tried to drop and recreate the subscription and then the data got
>>> replicated within a fly . I really don't know what is the cause of this
>>> lag?
> >How do you monitor ? Do you check for ERROR in the logs?
>
> I do monitor the ERRORS from the log file itself.
>
> 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)
PostgreSQL Version?
Also give the current settings of wal_receiver_timeout , wal_sender_timeout , increasing those to '5 min' solved my issues.
>
> But later that, it is replicating very fast. Hope I specified the answer for
> your question.
>
> Thanks in Advance
>
> 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 (31+ messages) latest in thread
Message-ID: <d6ed4da6-2cde-77f2-77bd-8e0d921fc61f@matrix.gatewaynet.com>
Permalink: ../d6ed4da6-2cde-77f2-77bd-8e0d921fc61f@matrix.gatewaynet.com/
Also on: postgresql.org/message-id/d6ed4da6-2cde-77f2-77bd-8e0d921fc61f@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: logical Replication
In-Reply-To: <d6ed4da6-2cde-77f2-77bd-8e0d921fc61f@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