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 / 15 done
0%

// the system, top to bottom

each stage a query passes through — and the lesson that opens it up.

a client connects
changes are made durable
data lives on disk
dead space is reclaimed