pgsql: Increase hash_mem_multiplier default to 2.0.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Increase hash_mem_multiplier default to 2.0.
Date: 2022-02-17 02:42:39
Message-ID: E1nKWkh-0001m9-SJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)bowt(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-02-17 06:50:56 pgsql: plpython: Reject Python 2 during build configuration.
Previous Message Peter Geoghegan 2022-02-17 01:16:13 pgsql: Avoid VACUUM reltuples distortion.