| The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration Guide
by The PostgreSQL Global Development Group Paperback (6"x9"), 274 pages ISBN 9781906966072 RRP £9.95 ($14.95) Sales of this book support the PostgreSQL project! Get a printed copy>>> |
4.5.2 Checkpoints
checkpoint_segments(integer)- 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.
checkpoint_timeout(integer)-
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. checkpoint_completion_target(floating point)- Specifies the target of checkpoint completion, as a fraction of total time between checkpoints. The default is 0.5. This parameter can only be set in the ‘postgresql.conf’ file or on the server command line.
checkpoint_warning(integer)-
Write a message to the server log if checkpoints caused by
the filling of checkpoint segment files happen closer together
than this many seconds (which suggests that
checkpoint_segmentsought to be raised). The default is 30 seconds (30s). Zero disables the warning. This parameter can only be set in the ‘postgresql.conf’ file or on the server command line.
| ISBN 9781906966072 | The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration Guide | See the print edition |