~/talk

Flexible Indexing with Postgres

Talkat PGConf NYC 2021 · 2021-12-02..12-03· [databases]
slides:none on file

Indexes beyond btree actually change performance: BRIN (block range) is tiny and suits chronologically ordered huge tables, Postgres 14 adds multi-range BRIN; a 100M-row example shows a 3.4GB table with a 2.1GB btree index so BRIN can be far smaller. GIN for json and full text stores each token once with multiple row pointers (Postgres 13 adds btree deduplication but cannot tokenise multi-valued fields). GiST / SP-GiST handle 2D, range and prefix partitioning, and bitmap scans let the planner merge partial indexes.

AI-written summary · about

  1. 0:00Start
  2. 5:00Outline
  3. 9:12Expression Indexes
  4. 13:01Create an Expression Index
  5. 14:09Partial Indexes: Index Row Control
  6. 32:41Generalized Inverted Index (GIN)
  7. 37:10Data Type Support for Index Types
  8. 37:39Finding Supported Data Types - GIN
  9. 44:15R-Tree Indexes Bounding Boxes
  10. 45:26GIST Two-Dimensional Ops
  11. 47:12Extension Index Support
  12. 47:44Index Usage Summary
  13. 48:26Evaluating Index Types
~/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.