| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Update buffer strategy descriptions in the buffer README |
| Date: | 2026-11-24 06:08:01 |
| Message-ID: | E1xVjhB-000000006kT-00do@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)pg(at)gmail(dot)com>
Reviewed-by: Lukas Fittl <lukas(at)fittl(dot)com>
Reviewed-by: Sami Imseih <samimseih(dot)pg(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Michael Paquier | 2026-11-24 05:22:23 | pgsql: Reset progress counters at end of WaitForOlderSnapshots() |