Glossary — in plain language

ANALYZE (statistics)


In plain English

ANALYZE samples your tables and stores statistics — how many rows, common values, value spread — so the query planner can estimate well. Out-of-date statistics are a top cause of suddenly bad query plans.

Why it matters

Autovacuum also runs ANALYZE automatically. After a big data load or bulk update, run ANALYZE manually so the planner is not flying blind.

Was this helpful?

← Browse the full glossary