From: Bruce Momjian Date: Wed, 5 Mar 2008 17:00:40 +0000 (+0000) Subject: Document that increasing the number of checkpoints segments or X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=fcbf2026001daa9ddfaf01b2c9221bb53871184b;p=users%2Fbernd%2Fpostgres.git Document that increasing the number of checkpoints segments or checkpoint timeout can incrase the time needed for crash recovery, per suggestion from Simon. --- diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 9191a775b9..6dbabd6910 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1584,9 +1584,10 @@ SET ENABLE_SEQSCAN TO OFF; - Maximum distance between automatic WAL checkpoints, in log - file segments (each segment is normally 16 megabytes). The - default is three segments. + Maximum number of log file segments between automatic WAL + checkpoints (each segment is normally 16 megabytes). The default + is three segments. Increasing this parameter can increase the + amount of time needed for crash recovery. This parameter can only be set in the postgresql.conf file or on the server command line. @@ -1602,6 +1603,8 @@ SET ENABLE_SEQSCAN TO OFF; Maximum time between automatic WAL checkpoints, in seconds. The default is five minutes (5min). + Increasing this parameter can increase the amount of time needed + for crash recovery. This parameter can only be set in the postgresql.conf file or on the server command line.