Read PostgreSQL query plans with a reproducible SQL lab. Diagnose row estimates, loops, buffers, and sort spills before changing indexes.