Slide 6
Slide 6 text
Journey of a Postgres write
When a write comes in, it is first written to
WAL for durability reasons.
Then the change is made in shared buffers
(not to the data file yet!)
At some point, those pages are written to
disk by the background writer or
checkpointer.
WAL (disk)
Shared buffers
Data files (disk)
BG writer
Checkpointer
INSERT INTO …