aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-04-08 11:02:59 -0400
committerRobert Haas <rhaas@postgresql.org>2022-04-11 10:52:18 -0400
commitad385a494f6ad863b38aa7c708f23aaf223438a7 (patch)
treef58fa71f39347ef91e38161eeeafdccb59c40ecd /doc/src
parente0064f0ff6dfada2695330c6bc1945fa7ae813be (diff)
downloadpostgresql-ad385a494f6ad863b38aa7c708f23aaf223438a7.tar.gz
postgresql-ad385a494f6ad863b38aa7c708f23aaf223438a7.zip
docs: Note the recovery_min_apply_delay bloats pg_wal.
Those WAL files that we're waiting to apply have to be stored somewhere. Thom Brown Discussion: http://postgr.es/m/CAA-aLv4SkJRK6GGcd0Axt8kt6_eWMEbtG7f8NJpFh+rNshtdNA@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 81cacdcbe40..cfbb20a39e1 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -4873,6 +4873,12 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
will end recovery without further waiting.
</para>
<para>
+ WAL records must be kept on the standby until they are ready to be
+ applied. Therefore, longer delays will result in a greater accumulation
+ of WAL files, increasing disk space requirements for the standby's
+ <filename>pg_wal</filename> directory.
+ </para>
+ <para>
This parameter is intended for use with streaming replication deployments;
however, if the parameter is specified it will be honored in all cases
except crash recovery.