Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2cae0ae

Browse files
committed
Revert "Correct WAL space calculation formula in docs."
This reverts commit 915116b. Per discussion, the previous formula was in fact correct. http://archives.postgresql.org/pgsql-docs/2010-10/msg00038.php
1 parent 0d5deeb commit 2cae0ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/wal.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,9 @@
481481

482482
<para>
483483
There will always be at least one WAL segment file, and will normally
484-
not be more files than the higher of <xref linkend="guc-wal-keep-segments"> or
485-
(2 + <varname>checkpoint_completion_target</varname>) * <varname>checkpoint_segments</varname> + 1.
486-
Each segment file is normally 16 MB (though this size can be
484+
not be more than (2 + <varname>checkpoint_completion_target</varname>) * <varname>checkpoint_segments</varname> + 1
485+
or <varname>checkpoint_segments</> + <xref linkend="guc-wal-keep-segments"> + 1
486+
files. Each segment file is normally 16 MB (though this size can be
487487
altered when building the server). You can use this to estimate space
488488
requirements for <acronym>WAL</acronym>.
489489
Ordinarily, when old log segment files are no longer needed, they

0 commit comments

Comments
 (0)