~/talk

Supercharge Your SQL with Indexes: a Practical Introduction

Talkat DevDays Europe 2024 · 2024-05-20..05-24· [databases]
slides:none on file

Uses MySQL InnoDB and B+ trees, runs live EXPLAIN and SHOW INDEX checks, and creates indexes on the fly to measure impact—examples show a query drop from ~10s to ~2ms and index selectivity stepping from 0.002 to 0.037 to ~0.9. Demonstrates prefix index savings (index size ~28MB → ~13MB), JSON indexing via generated columns, and multicolumn index left‑to‑right rules. Recommends small primary keys, weighs autoincrement vs UUID/ULID, and cites Prisma Optimize.

AI-written summary · about

  1. 0:00SQL indexes introduction
  2. 10:50B-tree indexes explained
  3. 17:11Primary keys for performance
  4. 23:50Secondary indexes overview
  5. 28:10Prefix indexes for strings
  6. 33:07Multi-column indexes order
  7. 37:04JSON indexing with columns
  8. 40:15Index management best practices
  9. 43:25Q&A function-based indexes
  10. 45:09Q&A indexing strategies
~/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.