2001-01-24
CHECKPOINT
SQL - Language Statements
CHECKPOINT
Force transaction log checkpoint
CHECKPOINT
Description
Write-Ahead Logging (WAL) puts a checkpoint in the transaction log
every 300 seconds by default. (This may be changed by the run-time
configuration option CHECKPOINT_TIMEOUT.)
The CHECKPOINT command forces a checkpoint at
the point at which the command is issued. The next automatic
checkpoint will still happen after the original cycle expires.
A checkpoint is a point in the transaction log sequence at which
all data files have been updated to reflect the information in the
log. All data files will be flushed to disk. Refer to the
PostgreSQL Administrator's Guide for more
information about the WAL system.
See Also
PostgreSQL Administrator's Guide
Compatibility
The CHECKPOINT command is a
PostgreSQL language extension.