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 1nonO9-00036b-2g for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2022 14:32:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nonO6-0007kx-6y for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2022 14:32:26 +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 1nonO5-0007ko-Te for pgsql-hackers@lists.postgresql.org; Wed, 11 May 2022 14:32:25 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nonO2-0002xq-TZ for pgsql-hackers@postgresql.org; Wed, 11 May 2022 14:32:24 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1nonO1-0071KK-Ls; Wed, 11 May 2022 10:32:21 -0400 Date: Wed, 11 May 2022 10:32:21 -0400 From: Bruce Momjian To: David Rowley Cc: PostgreSQL-development Subject: Re: First draft of the PG 15 release notes Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, May 11, 2022 at 02:31:08PM +1200, David Rowley wrote: > On Wed, 11 May 2022 at 14:02, Bruce Momjian wrote: > > > > On Wed, May 11, 2022 at 12:39:41PM +1200, David Rowley wrote: > > > I think the sort improvements done in v15 are worth a mention under > > > General Performance. The commits for this were 91e9e89dc, 40af10b57 > > > and 697492434. I've been running a few benchmarks between v14 and v15 > > > over the past few days and a fairly average case speedup is about 25%. > > > but there are cases where I've seen up to 400%. I think the increase > > > is to an extent that we maybe should have considered making tweaks in > > > cost_tuplesort(). I saw some plans that ran in about 60% of the time > > > by disabling Hash Agg and allowing Sort / Group Agg to do the work. > > > > Good point. Do you have any suggested text? I can't really see it > > clearly based on the commits, except "sorting is faster". > > If we're going to lump those into a single line then maybe something > along the lines of: > > * Reduce memory consumption and improve performance of sorting tuples in memory > > I think one line is fine from a user's perspective, but it's slightly > harder to know the order of the names in the credits given the 3 > independent commits. Okay, I went with this: Improve performance and reduce memory consumption of in-memory sorts (Ronan Dunklau, David Rowley, Thomas Munro) -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson