PostgreSQL Internals

MVCC, vacuum, the planner, and the index types — what Postgres does underneath your queries.