I wrote a small DTrace script to understand InnoDB IO statistics. This script shows statistics about different kinds of Innodb IO requests and how many of them result in actual IO. Sample output is shown below
#./inniostat -h
Usage: inniostat [-h] [-d] [-p pid] [interval]
-h : Print this message
-p : MySQL PID
-d : Dump dtrace script being used
# ./inniostat
__physical__ ___Innodb___ ____read____ ______write______
r/s w/s r/s w/s data pre log dblbuf dflush Time
24 121 24 50 24 0 50 0 0 16:00:57
26 130 26 51 26 0 51 0 0 16:00:58
18 134 18 54 18 0 54 0 0 16:00:59
25 129 25 51 25 0 51 0 0 16:01:00
29 116 46 47 17 29 47 0 0 16:01:01
10 140 10 132 10 0 52 0 80 …[Read more]