WAL & Recovery

The page travelling from memory to disk, with the log that has to beat it there. Follows The Buffer Pool;
Before you start. The last lesson showed that the database keeps its own copies of pages in RAM and changes them there, not on disk, because touching RAM is roughly a thousand times faster than touching disk. That is also the danger this lesson exists to fix: a change that has only ever existed in RAM disappears completely the moment the machine loses power, before it ever reaches a disk file.