From 4bc8d9dc90bb98b915d9900a7c1a9482214814bb Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Fri, 15 Oct 2010 10:19:10 +0100 Subject: [PATCH] Correct WAL space calculation formula in docs. Error pointed out by Fujii Masao, though not his patch. --- doc/src/sgml/wal.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index 70fc832e23..757c884c87 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -450,9 +450,9 @@ There will always be at least one WAL segment file, and will normally - not be more than (2 + checkpoint_completion_target) * checkpoint_segments + 1 - or checkpoint_segments + + 1 - files. Each segment file is normally 16 MB (though this size can be + not be more files than the higher of or + (2 + checkpoint_completion_target) * checkpoint_segments + 1. + Each segment file is normally 16 MB (though this size can be altered when building the server). You can use this to estimate space requirements for WAL. Ordinarily, when old log segment files are no longer needed, they -- 2.50.0