Performance

Read EXPLAIN fluently, understand plan node types, pick the right indexes, and rewrite queries the planner struggles with.

A query that returns the right rows still needs to return them fast. These lessons cover reading EXPLAIN output, understanding what plan nodes mean, choosing indexes that match your queries, and rewriting patterns that trip up the planner.

Paired course

Query Optimization Fundamentals

Go deeper with structured exercises, datasets, and production patterns.

See the Course

Go deeper

The Art of PostgreSQL

These lessons are the foundation. The book gives you the complete treatment, with real datasets you can run and the production patterns that turn thousands of lines of code into simple queries.

Get the Book — $89