~/talk

MySQL and InnoDB Performance for the Rest of Us

Talkat SREcon21 · 2021-10-12..10-14· [databases]
slides:none on file

Practical checklist for fixing slow MySQL/InnoDB queries: use EXPLAIN and SHOW FULL PROCESSLIST to see planner choices and thread states; prefer small integer auto‑increment primary keys to avoid page splits (UUIDs cause big btree churn); understand InnoDB stores rows in a clustered primary key and secondary indexes point to that PK; design left‑most, multi‑column indexes so queries hit an covering index and avoid temp files, file sorts and excessive IO; check EXPLAIN’s type/rows/extra (rows=1 is ideal, rows≈200 indicates nested‑loop work) and use EXPLAIN EXTENDED + SHOW WARNINGS for the join plan.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48Agenda
  3. 1:46Storage Engines
  4. 4:21Performance
  5. 9:11Indexes
  6. 12:44Clustered Indexes
  7. 14:19Primary Keys
  8. 17:35Improving Access Types
  9. 19:30Designing Indexes
  10. 22:11Index Limitations
  11. 22:51Covering Indexes
  12. 24:28Query Parser
  13. 27:30Post Processing
~/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.