Skip to content
Theory · MVCC: Row Versions and VACUUM · lesson 6 of 11

VACUUM and dead tuples

Nothing is erased in the price ledger, and within a year its pages fill up with crossed-out lines. New entries have to go on new pages, and the ledger gets thicker. So once a week an archivist comes. He blots out the lines nobody needs anymore and frees room on the pages for new entries. But he does not rebind the book itself: it keeps the same number of pages.

In this lesson

  • Dead tuples
  • What VACUUM does
  • The file does not shrink
  • VACUUM FULL
  • Common mistake
  • Key points