|
424 | 424 | linkend="guc-checkpoint-segments"> log segments, or every <xref
|
425 | 425 | linkend="guc-checkpoint-timeout"> seconds, whichever comes first.
|
426 | 426 | The default settings are 3 segments and 300 seconds (5 minutes), respectively.
|
427 |
| - It is also possible to force a checkpoint by using the SQL command |
428 |
| - <command>CHECKPOINT</command>. |
| 427 | + In cases where there are little or no writes to the WAL, checkpoints will be |
| 428 | + skipped even if checkpoint_timeout has passed. At least one new WAL segment |
| 429 | + must have been created before an automatic checkpoint occurs. The time |
| 430 | + between checkpoints and when new WAL segments are created are not related |
| 431 | + in any other way. If file-based WAL shipping is being used and you want to |
| 432 | + bound how often files are sent to standby server, to reduce potential data |
| 433 | + loss you should adjust archive_timeout parameter rather than the checkpoint |
| 434 | + parameters. It is also possible to force a checkpoint by using the SQL |
| 435 | + command <command>CHECKPOINT</command>. |
429 | 436 | </para>
|
430 | 437 |
|
431 | 438 | <para>
|
|