~/talk

7 or so deadly MySQL performance sins

links:none on file
slides:none on file

Seven common MySQL mistakes with concrete fixes: over‑allocating per‑session buffers causes memory blowouts and the OOM killer, calculate RAM as (per_session_buffers × max_connections) + buffer_pool, set vm.swappiness=0 instead of removing swap. Query cache usually hurts; set query_cache_type=0 and query_cache_size=0. Use appropriately sized primary keys (switch long 32‑char UTF‑8 IDs to integers or unsigned where possible) to shrink all secondary indexes. Verify replication with pt-table-checksum and use physical backups (XtraBackup) for fast restores, and always test restores.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Over-allocating memory
  3. 5:06Excessive indexes slow writes
  4. 7:39Default config pitfalls
  5. 9:48The myth of keeping all data in memory
  6. 13:01Inefficient data types waste space
  7. 16:18Redundant indexes dangers
  8. 20:35Primary keys hidden costs
  9. 22:02Replicas not backups
  10. 24:57Testing backups
  11. 27:07Binary vs logical backups
  12. 30:48Q&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.