Re: How to monitor logical replication initial sync?

From: bricklen <bricklen(at)gmail(dot)com>
To: Doug Gorley <doug(at)gorley(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to monitor logical replication initial sync?
Date: 2018-03-15 13:19:41
Message-ID: CAGrpgQ91Sh+y18FhsbsSQVQSnuT72e=TA7x8AFXjuw6n4dsoWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Wed, Mar 7, 2018 at 3:23 PM, Doug Gorley <doug(at)gorley(dot)ca> wrote:

> Good day,
>
> How does one monitor the status or progress of an initial sync under
> logical replication? For example:
>
> * I create a publication in database db_pub
> * I create a subscription in database db_sub
> * In 15 minutes I want to check an see that the initial sync is N% complete
>
> Is it possible to tell when the initial sync is complete, or better yet,
> how complete it is?
>

​This is a question I'm quite interested in as well (and one I do not have
an answer to).​

​Does anyone with more familiarity ​with logical replication have any
suggestions on how to determine the status of the initial sync?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Azimuddin Mohammed 2018-03-15 13:25:17 Re: Backup Tool
Previous Message Dhandapani Shanmugam 2018-03-15 13:15:58 Backup Tool

Browse pgsql-general by date

  From Date Subject
Next Message Mike Rylander 2018-03-15 14:40:43 Change ON UPDATE behavior of fkey
Previous Message rob stone 2018-03-15 10:08:53 Re: Snapshot recovery or rolling back commited