01Chapter 1: What EXPLAIN shows and why it mattersThis chapter assumes you can write SELECT queries with WHERE and JOIN, that you know a database index speeds up lookups, and that you can run SQL in psql or another client. Examples use PostgreSQL.2 min read
02Chapter 2: Nested loop, hash and merge joinsThis chapter assumes you can write SELECT queries with JOIN, GROUP BY and ORDER BY, know what an index is, and can run EXPLAIN in psql. The examples use PostgreSQL.2 min read
03Chapter 3: Comparing estimated and actual rowsThis chapter assumes you can write SELECT queries with WHERE, JOIN, GROUP BY and ORDER BY, that you know what an index is, and that you can run EXPLAIN ANALYZE in psql. Examples use PostgreSQL.2 min read