pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Increase hash_mem_multiplier default to 2.0.
Date: Thu, 17 Feb 2022 02:42:39 +0000
Message-ID: <E1nKWkh-0001m9-SJ@gemulon.postgresql.org> (raw)

Increase hash_mem_multiplier default to 2.0.

Double the default setting for hash_mem_multiplier, from 1.0 to 2.0.
This setting makes hash-based executor nodes use twice the usual
work_mem limit.

The PostgreSQL 15 release notes should have a compatibility note about
this change.

Author: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-Wzndc_ROk6CY-bC6p9O53q974Y0Ey4WX8jcPbuTZYM4Q3A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f388f6f554b113f25a53fe3237238d2c58ed1eb

Modified Files
--------------
doc/src/sgml/config.sgml                      |  7 +++----
src/backend/utils/init/globals.c              |  2 +-
src/backend/utils/misc/guc.c                  |  2 +-
src/backend/utils/misc/postgresql.conf.sample |  2 +-
src/test/regress/expected/groupingsets.out    |  2 ++
src/test/regress/expected/join_hash.out       | 18 ++++++++++++++++++
src/test/regress/expected/memoize.out         |  4 +++-
src/test/regress/sql/groupingsets.sql         |  2 ++
src/test/regress/sql/join_hash.sql            | 18 ++++++++++++++++++
src/test/regress/sql/memoize.sql              |  4 +++-
10 files changed, 52 insertions(+), 9 deletions(-)



Message-ID: <E1nKWkh-0001m9-SJ@gemulon.postgresql.org>
Permalink:  ../E1nKWkh-0001m9-SJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nKWkh-0001m9-SJ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Increase hash_mem_multiplier default to 2.0.
  In-Reply-To: <E1nKWkh-0001m9-SJ@gemulon.postgresql.org>
  References: <E1nKWkh-0001m9-SJ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox