postgres://internals
// a hands-on teardown
HOW POSTGRES
WORKS
Most SQL tutorials treat Postgres as a black box. This one cracks it open — storage pages, B-trees, transaction visibility, the query planner — through interactive instruments you can probe yourself.
0 / 17 done
0%
// the system, top to bottom
each stage a query passes through — and the lesson that opens it up.
a client connects
↓
the query is planned
↓
rows are found, kept consistent
↓
changes are made durable
↓
data lives on disk
↓
dead space is reclaimed
lesson index17 / 17 online
Foundations
Transactions & Concurrency
Durability & Memory
Execution & Performance
Operations & Scale