Reading Postgres EXPLAIN ANALYZE when the planner expects 300 rows and gets 15,000
Slow Postgres, part 2 of 8. The SQL and raw numbers for every test are on GitHub . Expected and actual rows per node, read from the bottom up. Postgres guessed that 300 users live in Lisbon. There are 15,000.