Re: Movement of restart_lsn position movement of logical replication slots is very slow - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Movement of restart_lsn position movement of logical replication slots is very slow
Date
Msg-id CAA4eK1JFNhU5k3bj+C00bTKri6G-oX-zWOmSnw-kSFGGDCrg0w@mail.gmail.com
Whole thread Raw
In response to Re: Movement of restart_lsn position movement of logical replication slots is very slow  (Jammie <shailesh.jamloki@gmail.com>)
List pgsql-hackers
On Tue, Jan 12, 2021 at 9:15 AM Jammie <shailesh.jamloki@gmail.com> wrote:
>
> Hi Amit,
> Thanks for the response .
> Can you please let me know what pg_current_wal_lsn returns ?
>
> is this position the LSN of the next log record to be created, or is it the LSN of the last log record already
createdand inserted in the log?
 
>

This is the position up to which we have already written the WAL to
the kernel but not yet flushed to disk.

-- 
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Logical Replication - behavior of ALTER PUBLICATION .. DROP TABLE and ALTER SUBSCRIPTION .. REFRESH PUBLICATION
Next
From: Peter Smith
Date:
Subject: Re: Single transaction in the tablesync worker?