~/talk

A Deep Dive Into PostgreSQL Indexing

Talkat Percona Live 2022 · 2022-05-16..05-18· [databases]
links:none on file
slides:none on file

Shows concrete numbers and techniques: a point query drops from about 26 seconds to ~2.4 ms once an index exists, btree is the default, hash supports only equality, BRIN wins when physical locality correlates with values, and GIN handles composite/full‑text data. Demonstrations include per‑table index files and a BRIN index that cuts index size from megabytes to kilobytes. Covers index-only scan speedups, when to use an expression index or a partial index, and the tradeoff of concurrent index creation versus locking and build time.

AI-written summary · about

  1. 0:00Introduction
  2. 0:17Ibrar Ahmad Introduction
  3. 0:36Index vs Book
  4. 3:39PostgreSQL Architecture
  5. 5:27Example
  6. 7:08Pages
  7. 10:07Why Index
  8. 12:04Index File
  9. 14:12Expression Index
  10. 19:32Special Index
  11. 20:21Partial Index
  12. 23:24Index Methods
  13. 23:57Btr Index
  14. 25:26Btree
  15. 28:23Index scan
  16. 29:55Index only scan
  17. 31:48Order doesnt matter
  18. 33:20Hash Index
  19. 35:16Hash Index Example
  20. 35:46Block Range Index
  21. 37:12Faster Execution
  22. 37:37Physical Storage
  23. 38:50Log
  24. 40:41Gen Index Example
  25. 41:05Index Framework
  26. 41:52B3 Hash
  27. 43:02Never been used
  28. 44:15Hints
~/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.