My Oracle Support Banner

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 later
Information in this document applies to any platform.


What's the meaning of Threads_connected and Threads_running? One mentions connections, the other threads:

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 ?


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
 Threads & Connections

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.