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 1s7A9f-0042Jj-LS for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 08:38:33 +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 1s7A9e-00CAul-TV for pgsql-hackers@arkaria.postgresql.org; Wed, 15 May 2024 08:38:30 +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 1s7A9e-00CAud-Gw for pgsql-hackers@lists.postgresql.org; Wed, 15 May 2024 08:38:30 +0000 Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s7A9Z-000Ko2-PU for pgsql-hackers@postgresql.org; Wed, 15 May 2024 08:38:29 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.west.internal (Postfix) with ESMTP id B4A391C000FE; Wed, 15 May 2024 04:38:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 15 May 2024 04:38:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715762303; x= 1715848703; bh=lX/BQWuI9Gsq1HRCeCq/FvhwF2pVpp1983RGZHre6Hc=; b=f +dGEe/F1142XSmjeMrFazxTMwWg52p+2Unvq2AUlBsqypkFbnZXOFT5XnnI4w0/j 2L7S6yRtmCDXhx7hQygGzvtsKt8d7U1P4jWrXaWlClM1QV6g14qRosgwWgVjYYuB MmlVEMrB7rbS77NXWS+X2s6z9emkjMzGgj+JDMx/cNpHHhBYgWeNXweOBgh43n3b SQjX/6qh4tdEwGWs7Hk618gQOBee2N60AZE7p6LS9bmALFMXhnFaf0cZ0vqg/lJl jPwzCM7RHsprgHB/xgIwxr1LIqqRXxLCwlYIPLW4qDFiW5Wftxvyn3M6PX0QAc47 +oZ125XWLme1IgtlR4/zw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegkedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvddufedtgfevvdfgffeghfevuddvgefhudegudffhfeg udduteettdfhvdegffehnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh dpthifihhtthgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 May 2024 04:38:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1715762300; bh=eonAERAYwtSjHgbk53cCIgVNb+frLxBI9BpXb8vamWo=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=RmPa+0tqYRqGgP++12G78qVgbezPGhp+u8HMwpBYCAb5oGk8BJI89c+1UmfT1HC6z BndC/Q1eEVMHup7JoXY7dpmqotY2rSdouGMeazD1umvR/pjoPLRYnrVSqDiqbHRD4F IPWi9cSojk2I3LpXsbfR602yWEhVBm3kHy2BEWJ9sxgKYnnvp/lDbwl9NVfWd9EwsJ c+ilGMTgX5XX1qteyveYfWCeZLz9LlaJ8X5d91+zwiTu5B44g1PwZCi8jDfD1QIfMb 0w7THWW0EdGbbkKLG3XmsLroTDHc6GKfv29Eq1mVdaXhnhhX5M0yAB8ujJiFYPMph9 wYbBxYG0MZ9Yg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id A1BB910B; Wed, 15 May 2024 10:38:20 +0200 (CEST) Date: Wed, 15 May 2024 10:38:20 +0200 From: Alvaro Herrera To: Bruce Momjian Cc: Melanie Plageman , PostgreSQL-development Subject: Re: First draft of PG 17 release notes Message-ID: <202405150838.sg5ddcexyyf4@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-May-14, Bruce Momjian wrote: > On Tue, May 14, 2024 at 03:39:26PM -0400, Melanie Plageman wrote: > > I think that we need to more clearly point out the implications of the > > feature added by Sawada-san (and reviewed by John) in 667e65aac35497. > > Vacuum no longer uses a fixed amount of memory for dead tuple TID > > storage and it is not preallocated. This affects users as they may > > want to change their configuration (and expectations). > > > > If you make that item more specific to their work, you should also > > remove my name, as the work I did on vacuum this release was unrelated > > to their work on dead tuple TID storage. > > > > The work Heikki and I did which culminated in 6dbb490261 mainly has > > the impact of improving vacuum's performance (vacuum emits less WAL > > and is more efficient). So you could argue for removing it from the > > release notes if you are using the requirement that performance > > improvements don't go in the release notes. > > I don't think users really care about these details, just that it is > faster so they will not be surprised if there is a change. I was > purposely vague to group multiple commits into the single item. By > grouping them together, I got enough impact to warrant listing it. If > you split it apart, it is harder to justify mentioning them. I disagree with this. IMO the impact of the Sawada/Naylor change is likely to be enormous for people with large tables and large numbers of tuples to clean up (I know we've had a number of customers in this situation, I can't imagine any Postgres service provider that doesn't). The fact that maintenance_work_mem is no longer capped at 1GB is very important and I think we should mention that explicitly in the release notes, as setting it higher could make a big difference in vacuum run times. I don't know what's the impact of the Plageman/Linnakangas work, but since there are no user-visible consequences other than it being faster, I agree it could be put more succintly, perhaps together as a sub-para of the same item. What about something like this? Lift the 1 GB allocation limit for vacuum memory usage for dead tuples, and make storage more compact and performant. This can reduce the number of index passes that vacuum has to perform for tables with many dead tuples, shortening vacuum times. Also, the WAL traffic caused by vacuum has been made more compact. > > However, one of the preliminary commits for this f83d70976 does > > change WAL format. There are three WAL records which no longer exist > > as separate records. Do users care about this? I don't think so. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "You don't solve a bad join with SELECT DISTINCT" #CupsOfFail https://twitter.com/connor_mc_d/status/1431240081726115845