Skip to content
Theory · PostgreSQL: How Data Is Stored · lesson 3 of 11

Inside a page

Let's go back to the ledger. At the top of each page the clerk keeps a short contents list: "entry 1 is at the bottom of the page, entry 2 is above it". He writes the entries themselves from the bottom up, while the contents list grows from the top down. A blank strip stays between them, and the page is full when the contents list meets the entries.

In this lesson

  • A page byte by byte
  • The line pointer
  • The row header
  • Room for changes
  • Common mistake
  • Key points