Skip to content

Commit 9bedfbd

Browse files
committed
Fix checkpoint_timeout documentation to reflect current behavior.
Jeff Janes
1 parent 83fbfec commit 9bedfbd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

doc/src/sgml/wal.sgml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -422,12 +422,10 @@
422422
linkend="guc-checkpoint-segments"> log segments, or every <xref
423423
linkend="guc-checkpoint-timeout"> seconds, whichever comes first.
424424
The default settings are 3 segments and 300 seconds (5 minutes), respectively.
425-
In cases where little or no WAL has been written, checkpoints will be
426-
skipped even if checkpoint_timeout has passed. At least one new WAL segment
427-
must have been created before an automatic checkpoint occurs. The time
428-
between checkpoints and when new WAL segments are created are not related
429-
in any other way. If file-based WAL shipping is being used and you want to
430-
bound how often files are sent to standby server to reduce potential data
425+
In cases where no WAL has been written since the previous checkpoint, new
426+
checkpoints will be skipped even if checkpoint_timeout has passed.
427+
If WAL archiving is being used and you want to put a lower limit on
428+
how often files are archived in order to bound potential data
431429
loss, you should adjust archive_timeout parameter rather than the checkpoint
432430
parameters. It is also possible to force a checkpoint by using the SQL
433431
command <command>CHECKPOINT</command>.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy