Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o49WG-00066j-7o for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2022 23:12:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o49WF-000132-2n for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jun 2022 23:12:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o49WE-00012t-Py for pgsql-hackers@lists.postgresql.org; Wed, 22 Jun 2022 23:12:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o49WB-0003wo-TW for pgsql-hackers@postgresql.org; Wed, 22 Jun 2022 23:12:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 25MNCEHK3693891; Wed, 22 Jun 2022 19:12:14 -0400 From: Tom Lane To: "Bagga, Rishu" cc: "pgsql-hackers@postgresql.org" Subject: Re: SLRUs in the main buffer pool - Page Header definitions In-reply-to: References: Comments: In-reply-to "Bagga, Rishu" message dated "Wed, 22 Jun 2022 21:06:29 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3693889.1655939534.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Wed, 22 Jun 2022 19:12:14 -0400 Message-ID: <3693890.1655939534@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Bagga, Rishu" 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