Re: Add checkpoint and redo LSN to LogCheckpointEnd log message

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: "Bossart, Nathan" <bossartn(at)amazon(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add checkpoint and redo LSN to LogCheckpointEnd log message
Date: 2022-01-27 23:57:49
Message-ID: 20220127235749.GA558032@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 27, 2022 at 08:37:37PM +0530, Bharath Rupireddy wrote:
> I'm still not clear how the REDO location can be treated as a start
> LSN? Can someone throw some light one what this checkpoint's REDO
> location is?

It's the WAL insert location at the time the checkpoint began (i.e., where
you need to begin replaying WAL from after a crash).

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2022-01-28 00:25:24 Re: logical decoding and replication of sequences
Previous Message Andres Freund 2022-01-27 23:36:34 Re: Creation of an empty table is not fsync'd at checkpoint