~/talk

For performance, go to page 5: Indexes

Talkat Dutch PHP Conference 2024 · 2024-03-12..03-15· [databases]
slides:none on file

Practical cookbook on database indexing with concrete MySQL actions and tradeoffs: how storage uses B+ tree layouts for fast lookups, when a composite index speeds multi-column filters, why column order and cardinality determine usefulness, and how EXPLAIN ANALYZE and the slow query log reveal actual row access counts. Covers covering and prefix indexes, functional and hash approaches, foreign keys auto-indexing, explain JSON output, space/write overhead of indexes, and rules for when to add or remove them.

AI-written summary · about

  1. 0:00Introduction
  2. 3:17Performance and caching
  3. 8:39Database indexes matter
  4. 15:44Full table scans
  5. 18:21Single-column indexes
  6. 21:53B-trees in indexes
  7. 23:40Query plans with EXPLAIN
  8. 25:07Composite indexes
  9. 27:39Index cardinality and ordering
  10. 30:05Index types
  11. 32:16Indexing best practices
~/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.