Re: SLRUs in the main buffer pool - Page Header definitions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bagga, Rishu" <bagrishu(at)amazon(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SLRUs in the main buffer pool - Page Header definitions
Date: 2022-06-22 23:12:14
Message-ID: 3693890.1655939534@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Bagga, Rishu" <bagrishu(at)amazon(dot)com> writes:
> The current SLRU pages do not have any header, so there is a need to
> create a new page header format for these. Our investigations revealed
> that we need to:

> 1. track LSN to ensure durability and consistency of all pages (for redo
>    and full page write purposes)
> 2. have a checksum (for page correctness verification).
> 3. A flag to identify if the page is a relational or BufferedObject
> 4. Track version information.

Isn't this a nonstarter from the standpoint of pg_upgrade?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-06-22 23:20:48 Re: SLRUs in the main buffer pool - Page Header definitions
Previous Message Andres Freund 2022-06-22 23:07:10 Re: fix stats_fetch_consistency value in postgresql.conf.sample