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 1k0xPN-0007F5-KW for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Jul 2020 01:30:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k0xPM-00014w-Hs for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Jul 2020 01:30:56 +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 1k0xPM-00011N-AV for pgsql-hackers@lists.postgresql.org; Thu, 30 Jul 2020 01:30:56 +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 1k0xPJ-0001KS-Co for pgsql-hackers@postgresql.org; Thu, 30 Jul 2020 01:30:55 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1k0xPG-00058c-MO; Wed, 29 Jul 2020 21:30:50 -0400 Date: Wed, 29 Jul 2020 21:30:50 -0400 From: Bruce Momjian To: Peter Geoghegan Cc: Alvaro Herrera , Masahiko Sawada , PostgreSQL-development Subject: Re: PG 13 release notes, first draft Message-ID: <20200730013050.GA30116@momjian.us> References: <20200626202036.GA5474@alvherre.pgsql> <20200626202326.GA5823@alvherre.pgsql> <20200626222423.GC3337@momjian.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 29, 2020 at 03:34:22PM -0700, Peter Geoghegan wrote: > Hi Bruce, > > On Fri, Jun 26, 2020 at 3:24 PM Bruce Momjian wrote: > > Patch attached and applied to PG 13. > > I committed the hash_mem_multiplier GUC to Postgres 13 just now. > > There should be a note about this in the Postgres 13 release notes, > for the usual reasons. More importantly, the "Allow hash aggregation > to use disk storage for large aggregation result sets" feature should > reference the new GUC directly. Users should be advised that the GUC > may be useful in cases where they upgrade and experience a performance > regression linked to slower hash aggregation. Just including a > documentation link for the GUC would be very helpful. I came up with the attached patch. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee --+QahgC5+KEYLbs62 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="hash.diff" diff --git a/doc/src/sgml/release-13.sgml b/doc/src/sgml/release-13.sgml new file mode 100644 index 18e6497..2586645 *** a/doc/src/sgml/release-13.sgml --- b/doc/src/sgml/release-13.sgml *************** Author: Jeff Davis Previously, hash aggregation was avoided if it was expected to use ! more than memory. --- 649,657 ---- Previously, hash aggregation was avoided if it was expected to use ! more than memory. To use more ! memory for hash query operations, increase . --+QahgC5+KEYLbs62--