2.3 Storage
Definition: A page is the 8 kB block PostgreSQL reads and writes. The WAL (write-ahead log) is a journal of every change, written before the data files, so a crash never loses a committed change.
The order is the point. The change is safe on disk in the WAL before you get "OK". If the server crashes before step 3, PostgreSQL replays the WAL at startup and the data file catches up.
You will see the WAL and the data files on your own server in 5.4, right after you install PostgreSQL.
Was this page helpful?
Thanks. Glad it helped.
Thanks for telling us. Email the instructor what was missing, or ask in class.