TIME column in TOP command for mysql

Posted by michael on Server Fault See other posts from Server Fault or by michael
Published on 2012-12-19T16:23:51Z Indexed on 2012/12/19 17:04 UTC
Read the original article Hit count: 355

Filed under:
|
|

When I run top on my database server I get that mysqld has been running for 4:00.51 and it continues to go up.

I assume this means that one process with mysql has been running this long from other posts on here. Its not set to cumulative mode as best I can tell as the heading looks like it would change to CTIME if that be the case.

What I'm wondering is if this is normal for a site that makes a lot of individual connections using PHP. I shouldn't have any long running processes that would hold on to a mysql connection for this long, only seconds at most.

Am I incorrect to assume that this time relates to one connection/process running? I think usually I see it flash up and away on the TOP, not just stay there with this number increasing.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about mysql