pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update buffer strategy descriptions in the buffer README
Date: Tue, 24 Nov 2026 06:08:01 +0000
Message-ID: <E1xVjhB-000000006kT-00do@gemulon.postgresql.org> (raw)

Update buffer strategy descriptions in the buffer README

The buffer README still described the bulk-read strategy as using a fixed
256kB ring.  Since 15f0cb26b530, the ring size starts at 256kB and grows
to accomodate the configured I/O concurrency, up to the backend pin
limit.  The general cap is 1/8 of shared_buffers and can be smaller than
256kB, something that the README did not mention.

This commit updates the bulk-read description, and removes the list of
operations that use the bulk-write strategy.  The list was outdated, and
missed multiple refreshes.

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Reviewed-by: Sami Imseih <samimseih.pg@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/auCYYbDyrQEwIsQq@bdtpg

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fbbb2e05600828b5a38a9a7a701a9339a270b697

Modified Files
--------------
src/backend/storage/buffer/README | 36 +++++++++++++++++++++---------------
1 file changed, 21 insertions(+), 15 deletions(-)



Message-ID: <E1xVjhB-000000006kT-00do@gemulon.postgresql.org>
Permalink:  ../E1xVjhB-000000006kT-00do@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xVjhB-000000006kT-00do@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: michael@paquier.xyz
  Subject: Re: pgsql: Update buffer strategy descriptions in the buffer README
  In-Reply-To: <E1xVjhB-000000006kT-00do@gemulon.postgresql.org>
  References: <E1xVjhB-000000006kT-00do@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