§ how it works · postgresql

PostgreSQL, down to the page and the tuple.

Each card below is an SVG visualization of one PostgreSQL internal: how an 8 KB page fills from both ends, and why a single UPDATE leaves two versions of the same row on disk. A drawn model of the storage layer, not a list of SQL commands.

These are drawn diagrams, not a sandbox. To open a real page with pageinspect and watch two versions across two sessions, head to the lessons with a live server.