~/talk

Being a Better Developer With EXPLAIN

Talkat pgDay Paris 2018 · on Thursday, 2018-03-15· [databases, developer-experience]
slides:none on file

Shows how to find slow ORM SQL in PostgreSQL logs and enable pg_stat_statements to rank queries, use EXPLAIN ANALYZE to see actual timing and loops, and spot N+1s fixed with select_related/prefetch_related. Demonstrates creating a multi-column index that turns a 48‑second lateral join into ~7 ms, explains when planner chooses sequential, index, bitmap scans and nested/hash/merge joins, and how ORDER BY+LIMIT uses top‑heap vs full sort; all changes measurably speed the app.

AI-written summary · about

  1. 0:00Introduction to performance
  2. 1:28Understanding ORM behavior
  3. 5:35Analyzing database logs
  4. 9:39Using pg_stat_statements
  5. 12:10Decoding query plans
  6. 16:57Advanced scan strategies
  7. 21:37Join algorithms explained
  8. 25:07Optimizing order and limits
  9. 28:28Practical query optimization
  10. 36:56Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.