![Row estimates](https://img.transistor.fm/XoJKBsIida2PbzEhDlUv56LV_igZ6S4xTONrCcJ6P7A/rs:fill:800:800:1/q:60/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzMyMTQ3LzE3MTA3/OTEzODMtYXJ0d29y/ay5qcGc.webp)
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