pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: PegoraroF10 <marcos@f10.com.br>
To: pgsql-general@postgresql.org
Subject: Re: Reading WALs
Date: Sat, 14 Mar 2020 08:15:08 -0700
Message-ID: <4440833e-e4e4-53ec-b0f5-06a44dd2bd31@aklaver.com> (raw)
In-Reply-To: <1584193735733-0.post@n3.nabble.com>
References: <1584193735733-0.post@n3.nabble.com>

On 3/14/20 6:48 AM, PegoraroF10 wrote:
> On my built in logical replication I see that sometimes it tooks a long time
> to be updated with master. The question is how can I see what is being done
> on replica ? I know I can have a WAL reader, I tried WAL2JSON, it listen all
> data which comes from master, but as I understood when I use that plugin
> that data is discarded, so, not replicated.
> 
> Is that correct ? Can I see what is coming to replica server and apply that
> change to server as usual ?

See what is happening:

https://www.postgresql.org/docs/12/monitoring-stats.html#PG-STAT-SUBSCRIPTION

> 
> 
> 
> --
> Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (5+ messages)  latest in thread

Message-ID: <4440833e-e4e4-53ec-b0f5-06a44dd2bd31@aklaver.com>
Permalink:  ../4440833e-e4e4-53ec-b0f5-06a44dd2bd31@aklaver.com/
Also on:    postgresql.org/message-id/4440833e-e4e4-53ec-b0f5-06a44dd2bd31@aklaver.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, marcos@f10.com.br
  Subject: Re: Reading WALs
  In-Reply-To: <4440833e-e4e4-53ec-b0f5-06a44dd2bd31@aklaver.com>
  References: <1584193735733-0.post@n3.nabble.com> <4440833e-e4e4-53ec-b0f5-06a44dd2bd31@aklaver.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