~/talk

Resolving MySQL Problems Quickly

Talkat PHP UK Conference 2013 · 2013-02-21..02-23· [databases]
links:none on file
slides:none on file

Shows concrete fixes and diagnostics: use Percona Toolkit tools like pt-stalk and pt-query-digest to capture TCP dumps, slowlog extended stats and session counters, and profile queries; identify a MyISAM update causing two‑second locks, a temporary table of ~2 million rows producing ~30 million index reads, and 420 ms disk wait spikes; find binary‑log deletions of 1 GB on ext3 blocking the lock mutex and resolve by switching to xfs or smaller binlog sizes; proves fixes with per‑request instrumentation and PTX/PT- tools.

AI-written summary · about

  1. 0:00Start
  2. 0:33Resolving MySQL Problems Quickly
  3. 1:39The Problem
  4. 6:48Following the flow
  5. 7:39My analysis
  6. 10:42Related Concepts
  7. 11:24What is important...
  8. 15:21Available Instrumentation Tools
  9. 16:12Slow Query
  10. 17:42EXPLAIN
  11. 20:09SESSION STATUS
  12. 23:46SHOW PROFILES
  13. 29:02Global Performance Problems
  14. 30:30MySQL Connections
  15. 31:06MySQL Replication
  16. 31:36MySQL Temporary Objects
  17. 32:51MySQL Query Response Time
  18. 33:56pt-mext
  19. 36:15Disk Subsystem Statistics
  20. 37:19pt-diskstats
  21. 37:35Optimizing Queries
  22. 37:59Enhanced Slow Log Statistics
  23. 39:24Diagnosing Intermittent Problems
  24. 39:54The Diagnostic Trigger
  25. 40:29Configuring pt-stalk
  26. 40:42Capturing Data
  27. 40:58Using pt-sift
  28. 41:24The Usual Suspects
  29. 43:59High Transaction Locking
  30. 44:29Filesystem Cache Issue
~/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.