Professional Documents
Culture Documents
MySQL
Debugging performance issue and getting deeper
insight into server’s behavior
Danil Zburivsky
April, 2013
7 © 2013 Pythian
6 © 2013 Pythian
OS STATS
SHOW
PROCESSLIST
• pt-stalk (http://www.percona.com/doc/percona-
toolkit/2.1/pt-stalk.html)
• innotop (http://code.google.com/p/innotop/)
• Oracle: SQL-traces,
kernel events timings,
tons of books on
performance tuning
10
11
12
12
12
12
12
12
13
14
15
16
17
18
19
20
21
• http://www.markleith.co.uk/ps_helper/
• Great examples of using
performance_schema
22
23
• In IO-bound — 5%-8%
• Significant improvements in 5.6
24
26
27
28
29
• Flexible
• Relational model allows to build your own
views on top of this data
30
31
1-877-PYTHIAN
To follow us
http://www.pythian.com/blog
http://www.facebook.com/pages/The-Pythian-Group/163902527671
@pythian
http://www.linkedin.com/company/pythian
8 © 2013 Pythian