Reading EXPLAIN: how Postgres runs your query

Ask Postgres how it will run a query, count the rows it reads for nothing, and watch one index turn twenty thousand rows read into twenty.

Checking your access…