~/talk

MySQL Indexing Best Practices

slides:none on file

Explains how MySQL uses B+tree-style indexes (point lookups, open/closed ranges, ORDER BY) and why InnoDB’s clustered primary key matters; shows when multi-column indexes work, why covering index and prefix indexes convert random I/O to sequential I/O, and why extra indexes cost writes, memory and optimizer confusion. Covers MySQL 5.6 features like InnoDB condition pushdown, JSON EXPLAIN output, join-buffer and union/enum tricks, and recommends combining columns, measuring with EXPLAIN and Percona tools.

AI-written summary · about

  1. 0:00MySQL indexing importance
  2. 1:23What indexes are
  3. 3:33B+ tree indexes in MySQL
  4. 8:42Queries B+ tree indexes optimize
  5. 11:53Index overhead and best practices
  6. 13:19InnoDB clustered indexes
  7. 15:53Indexes for lookups
  8. 17:19Multi-column indexes behavior
  9. 20:57Indexes for sorting data
  10. 24:10Covering indexes benefits
  11. 26:21Min/Max with indexes
  12. 27:10Indexing joins
  13. 30:18Index merge limitations
  14. 31:22Prefix indexes trade-offs
  15. 33:09MySQL 5.6 optimizations
  16. 33:51Index condition pushdown
  17. 36:45How MySQL selects indexes
  18. 37:50EXPLAIN for optimization
  19. 39:23Holistic indexing strategy
  20. 40:47Practical indexing tips
  21. 43:04Advanced indexing tricks
  22. 45:38Q&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.