April 2018
Intermediate to advanced
508 pages
15h 22m
English
Checkpoints are valuable because they reduce the amount of time required to recover from a crash, so you want to perform them as often as you can stand. However, the overhead of both the checkpoint writes and the subsequent full page writes to the WAL is expensive, which means you don't want checkpoints to happen often.
You can adjust how often checkpoints occur by modifying two database tunables that control the two primary ways by which a checkpoint starts:
Read now
Unlock full access