Schedule - PGConf NYC 2021

Identifying Slow Queries and Fixing Them!

Date: 2021-12-03
Time: 15:10–16:00
Room: Salon A & B
Level: Intermediate
Feedback: Leave feedback

We'll be looking at PostgreSQL configuration options (postgresql.conf) for logging and basic tuning parameters, how to monitor which queries are taking the most time using pg_stat_statements, going over EXPLAIN and EXPLAIN ANALYZE output for select queries (and the auto_explain module), what the EXPLAIN output means in terms of how the query is being executed, and then going over ways to improve the queries, including index creation, rewriting the query to allow PG to use a different plan, and how to tune parameters for specific queries.

Speaker

Stephen Frost