Determining which database instance makes biggest IO

Posted by user2008937 on Server Fault See other posts from Server Fault or by user2008937
Published on 2014-08-22T15:23:04Z Indexed on 2014/08/22 16:25 UTC
Read the original article Hit count: 212

Filed under:
|
|
|

Assuming that I have a dedicated server on which I am running multiple instances of mysql and postresql servers. How without iotop determine which instance in particular time (proc/pid/io shows data collected in some peroid of time) makes the biggest IO (so it increases IOWAIT)?

When lots of ppl do something on DB then I clearly see which instance is making the load because of high cpu usage, but I had a situation when the cpu usage was just normal, but very high iowait made a huge load on server and i had problem finding process that was making some outstanding IO

© Server Fault or respective owner

Related posts about mysql

Related posts about postgresql