Quite commonly I get a question similar to this - "My Innodb
Buffer Pool is already 90% full, should I be thinking about
upgrading memory already?"
This is a wrong way to put the question. Unless you have very
small database (read as database which is less than
innodb_buffer_pool_size) You will have all
buffer pool busy sooner or later.
How to figure out if it is time for upgrade when ?
Look at number of misses per second Check number of innodb file reads and writes per second and see how high are these. Decent drive can do some 150-200 IOs/sec this is how you can guess about the load. If you just get couple of reads per second your working set fits to the memory very well if it is hundreds you're likely to be IO bound or becoming one.
Look at Iowait iostat -dx 10 will show disk utilization. Low (less than 50%) means there are rarely anyone waiting from disk …
[Read more]