Ask Your Question
0

What distinguishes "show status where `variable_name` = 'Threads_connected'" from "SHOW PROCESSLIST" in MySQL?

asked 2023-06-22 01:22:05 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-22 01:44:02 +0000

david gravatar image

"SHOW PROCESSLIST" displays a list of all currently executing queries along with their status and details, while "show status where variable_name = 'Threads_connected'" shows the number of currently connected threads to the MySQL server. The former provides more detailed information about all currently executing queries, while the latter simply reports the number of threads connected to the server.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-22 01:22:05 +0000

Seen: 10 times

Last updated: Jun 22 '23