Row estimates
Nikolay and Michael discuss planner row estimation — how it can cause performance issues, how to spot problems, and various options we have to fix them.
Here are links to a few things we mentioned:
- ANALYZE (docs)
- Autovacuum config (docs)
- Statistics used by the planner (docs)
- CREATE STATISTICS (docs)
- Row count estimates (pgMustard blog post)
- pg_hint_plan
- Optimizer methodology (talk by Robert Haas)
- Tomáš Vondra on statistics and hints (an excellent interview we forgot to mention, sorry!)
------------------------
What did you like or not like? What should we discuss next time? Let us know by tweeting us on @samokhvalov / @michristofides / @PostgresFM, or by commenting on our Google doc.
If you would like to share this episode, here's a good link (and thank you!)
Postgres FM is brought to you by:
- Nikolay Samokhvalov, founder of Postgres.ai
- Michael Christofides, founder of pgMustard
With special thanks to:
- Jessie Draws for the amazing artwork