PostgreSQL
시간 + WAL
시간, WAL 크기, 분산 비율로 체크포인트 강도를 조절합니다.
Trigger and pacing
checkpoint_timeout
5min
max_wal_size
1GB
checkpoint_completion_target
0.9
Background work
Checkpointer
체크포인트를 시작하고 기준 시점을 만듭니다.
Background Writer
Dirty 페이지를 나눠 써서 쓰기 버스트를 완화합니다.
Manual checkpoint
CHECKPOINT;