What is Thread, Connection And Session In MySQL?
(Doc ID 2313202.1)
Last updated on FEBRUARY 26, 2020
Applies to:
MySQL Server - Version 5.0 and laterInformation in this document applies to any platform.
Goal
What's the meaning of Threads_connected and Threads_running? One mentions connections, the other threads:
- Threads_connected
- The number of currently open connections.
- Threads_running
- The number of threads that are not sleeping.
The sleeping state means the threads is not running? How long I can release the sleeping thread '?
The thread is the same as the session ?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
Threads & Connections |
Session |
References |