From c8f8d0eb1868cc88d481518d2b6aa0767116055c Mon Sep 17 00:00:00 2001
From: David Rowley
Date: Sat, 1 Apr 2023 10:41:27 +1300
Subject: Doc: add Buffer Access Strategy to the glossary
It seems useful to add this to the glossary as there's discussion around
adding an option to VACUUM to disable and adjust the size of the buffer
access strategy that VACUUM uses.
Author: Melanie Plageman
Reviewed-by: Justin Pryzby, David Rowley
Discussion: https://postgr.es/m/ZBYDTrD1kyGg%2BHkS%40telsasoft.com
---
doc/src/sgml/glossary.sgml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
(limited to 'doc/src')
diff --git a/doc/src/sgml/glossary.sgml b/doc/src/sgml/glossary.sgml
index 7c01a541fe4..29bf1873bdc 100644
--- a/doc/src/sgml/glossary.sgml
+++ b/doc/src/sgml/glossary.sgml
@@ -252,6 +252,34 @@
+
+ Buffer Access Strategy
+
+
+ Some operations will access a large number of
+ pages. A
+ Buffer Access Strategy helps to prevent these
+ operations from evicting too many pages from
+ shared buffers.
+
+
+ A Buffer Access Strategy sets up references to a limited number of
+ shared buffers and
+ reuses them circularly. When the operation requires a new page, a victim
+ buffer is chosen from the buffers in the strategy ring, which may require
+ flushing the page's dirty data and possibly also unflushed
+ WAL to permanent storage.
+
+
+ Buffer Access Strategies are used for various operations such as
+ sequential scans of large tables, VACUUM,
+ COPY, CREATE TABLE AS SELECT,
+ ALTER TABLE, CREATE DATABASE,
+ CREATE INDEX, and CLUSTER.
+
+
+
+
Cast
--
cgit v1.2.3