Reputation: 57
I have a very basic question regarding MySQL Workbench Client Connections window.In that window a Command column and a Time column is shown.If the Command column value is Sleep and the Time column value is very large(say 1500), does that mean that the client connection object has not been used for quite sometime? Also what are the meanings of "Threads Connected", "Threads Running","Total Connections" etc?
Upvotes: 2
Views: 3366
Reputation: 28834
A sample MySQL Workbench screenshot of Client Connections real time is shown below:
It basically utilizes output of SHOW PROCESSLIST
command.
mysqli_connect
, it opens a connection to the Server. In this particular case, it also basically implies that 15 client sessions (most of them originating from application code) are executing simultaneously right now.Upvotes: 3