
Introduction to Postgres Query Planning (gpn21)
Chaos Computer Club - archive feed · floy
June 9, 202357m 2s
Audio is streamed directly from the publisher (cdn.media.ccc.de) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
**How do databases get from SQL query to result? How do they do it *quickly*?**
In this talk, we'll discuss how to represent queries as trees, look at some basics of query optimization and look into the Postgres query planner specifically. With some examples, we'll see how it uses statistics, estimates costs and ultimately decides on an execution plan. We'll open the hood, read some query plans, see what can go wrong and talk about approaches for helping the planner out.
Slides: https://leftshift.github.io/query-planner-talk
about this event: https://cfp.gulas.ch/gpn21/talk/GUTJAD/
Topics
gpn211952023Software & Infrastructure