1CHECKPOINT(7) PostgreSQL 15.4 Documentation CHECKPOINT(7)
2
3
4
6 CHECKPOINT - force a write-ahead log checkpoint
7
9 CHECKPOINT
10
12 A checkpoint is a point in the write-ahead log sequence at which all
13 data files have been updated to reflect the information in the log. All
14 data files will be flushed to disk. Refer to Section 30.5 for more
15 details about what happens during a checkpoint.
16
17 The CHECKPOINT command forces an immediate checkpoint when the command
18 is issued, without waiting for a regular checkpoint scheduled by the
19 system (controlled by the settings in Section 20.5.2). CHECKPOINT is
20 not intended for use during normal operation.
21
22 If executed during recovery, the CHECKPOINT command will force a
23 restartpoint (see Section 30.5) rather than writing a new checkpoint.
24
25 Only superusers or users with the privileges of the pg_checkpoint role
26 can call CHECKPOINT.
27
29 The CHECKPOINT command is a PostgreSQL language extension.
30
31
32
33PostgreSQL 15.4 2023 CHECKPOINT(7)