Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qpzwA-007oix-W7 for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Oct 2023 23:45:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qpzw8-002B03-6R for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Oct 2023 23:45:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qpzw7-002Azv-Sd for pgsql-hackers@lists.postgresql.org; Mon, 09 Oct 2023 23:45:20 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qpzw5-001C9i-Vr for pgsql-hackers@postgresql.org; Mon, 09 Oct 2023 23:45:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=rlWfHFPUXqrOLPVIBr5/k5qZV6HBLhAaaDMBiR6t89M=; b=aFpKx hglI1XZWfE2fpLy6kyUlwhlWukK9S/KMYOAA8hsjZg5Z3U+8sMaXuxdJxMog2CK2/fnmlzPFlnpj1 dk6n5WqaFfFxlLFp8J94CzpA2r+o9YdSOW2Ai3Oz0hTENPQokosFt7z82TLihsWoYU9EVlTpuAYih ThxD7I/hTwaIqtDgLt7G40pqWibDNGjM/6gIxyqB4YkBxiaFmd8M7NTMhSDff5vm84wcBPzYj9Z2R +iFxa5UBygQIjki3tJ31svteI/lVFEEAPre8vTMzhiqIcEbR9Ko6kCAT5bovP9OSzKpNzFME4ZozW 8EJsAumeBZe1ePE6bmgX0ZW3MuWvA==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1qpzw4-000A9f-0n; Mon, 09 Oct 2023 19:45:16 -0400 Date: Mon, 9 Oct 2023 19:45:16 -0400 From: Bruce Momjian To: Andres Freund Cc: pgsql-hackers@postgresql.org, Heikki Linnakangas , Robert Haas , Thomas Munro , Matthias van de Meent Subject: Re: Lowering the default wal_blocksize to 4K Message-ID: References: <20231009230805.funj5ipoggjyzjz6@awork3.anarazel.de> <20231009233620.vkj3g6mxk3czg27g@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009233620.vkj3g6mxk3czg27g@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Oct 9, 2023 at 04:36:20PM -0700, Andres Freund wrote: > Hi, > > On 2023-10-09 19:26:54 -0400, Bruce Momjian wrote: > > On Mon, Oct 9, 2023 at 04:08:05PM -0700, Andres Freund wrote: > > > There's an alternative approach we could take, which is to write in 4KB > > > increments, while keeping 8KB pages. With the current format that's not > > > obviously a bad idea. But given there aren't really advantages in 8KB WAL > > > pages, it seems we should just go for 4KB? > > > > How do we handle shorter maximum row lengths and shorter maximum index > > entry lengths? > > The WAL blocksize shouldn't influence either, unless we have a bug somewhere. Oh, good point. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.