~/talk

SQL Indexing Beyond Simple Columns: Expressions, Text Fragments, Attributes J...

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [databases]
slides:none on file

Shows concrete SQL indexing techniques beyond simple columns: create expression indexes (e.g., trunc(date_delivery - date_order) for same‑day deliveries), use sorted keys to serve Top‑10 queries without a full sort, build reverse(name) indexes to enable suffix searches, and use GIN trigram indexes for substring matching. Demonstrates indexing JSON/JSONB attributes with GIN, compares Postgres vs Yugabyte behavior for index‑only scans/visibility, and validates index choices by inspecting execution plans.

AI-written summary · about

  1. 0:00SQL indexing introduction
  2. 10:10Partial indexes optimization
  3. 20:28Covering indexes included columns
  4. 30:23Indexes on expressions functions
  5. 40:16Top N queries pagination
  6. 44:53Conclusion 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.