In this weeks episode we are very lucky to be joined by Bruce Momjian to discuss Postgres Performance Tuning and Query Planner.
We start off discussion around how Bruce got interested in Database Systems, a brief history of Postgres and his involvement with the project over the years.
Following this we highlight the three main areas which affect database performance - hardware, server configuration and SQL/indexing.
With this knowledge in hand, we then delve into the Query Planner, demystifying some of the terminology and concepts used (i.e. cost, scan methods and join methods).
Finally, we summarise how these concepts are used by Postgres to decide which query plan to pick for a supplied query.
Show Links
Bruce Momjiantnm/shql: shell sqlSHQLPostgreSQL Performance Tuning - Bruce MomjianDatabase Hardware Selection Guidelines - Bruce Momjiandalibo/pgbadger: a fast PostgreSQL Log Analyzerpg_stat_statementsPostgreSQL - ReliabilityBuilding MicroservicesReplication, Clustering, and Connection Pooling - PostgreSQL wikiPostgreSQL - How the Planner Uses Statisticspg_statsExplaining the Postgres Query Optimizer - Bruce MomjianExplaining the Postgres Query Optimizer Slides - Bruce MomjianPostgreSQL - Routine VacuumingNon-Relational Postgres - Bruce Momjian