~/talk

SQL indexing: expressions, text fragments, JSON attributes and Top-N queries

TalkinFrenchat Voxxed Days Luxembourg 2024 · 2024-06-20..06-21· [databases]
slides:none on file

How to create SQL indexes that go beyond simple columns by indexing expression results, text fragments (e.g., substrings or tokens), and JSON attributes to speed up queries. It explains techniques for defining these indexes in SQL and shows how they improve performance for Top-N queries and other common query patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Why index searched values
  3. 3:34SQL indexes history
  4. 4:18Table indexes and optimization
  5. 6:45Top-N query indexes
  6. 10:20Partial indexes and use
  7. 15:16Covering indexes and included columns
  8. 23:39Avoid SELECT *
  9. 25:02Index order and pagination
  10. 28:55Expression indexes
  11. 32:06Text fragment indexes
  12. 35:55Trigram indexing
  13. 38:05JSON attribute indexing
  14. 43:02Top-N queries and pagination
  15. 46:34MIN/MAX per group
  16. 49:01Global indexing strategy
  17. 50:23Index management and maintenance
  18. 51:06Summary and Q&A
~/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.