~/talk

How to teach an elephant to dance rock'n'roll

TalkinPortugueseat FOSSASIA Summit 2017 · 2017-03-17..03-19· [databases]
slides:none on file

PostgreSQL query optimization beyond indexes: explains how the optimizer and executor work and shows concrete techniques—loose index scans, using IOS in nonstandard cases, replacing IN (long value lists) with JOIN VALUES(), moving LIMIT/OFFSET inside joins, and tricks with row types and arrays. Applies these methods to optimize a typical "friends feed/subscription news" query and compares performance of four approaches: simple direct SQL, an optimized direct SQL, PL/pgSQL implementations, and converting read-only PL/pgSQL into equivalent plain SQL.

AI-written summary · about

  1. 0:00Introduction
  2. 10:14Performance strategies
  3. 20:44Case studies
  4. 30:15Challenges solutions
  5. 40:03Results learnings
  6. 50:10Conclusion next steps
  7. 57:10Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.