MySQL show status - active or total connections?

前端 未结 8 597
旧时难觅i
旧时难觅i 2020-11-27 09:07

When I run show status like \'Con%\' it shows the number of connections, which is 9972 and constantly growing. Is this an active number of connections or connec

相关标签:
8条回答
  • 2020-11-27 09:54

    You can also do

    SHOW STATUS WHERE `variable_name` = 'Max_used_connections';
    
    0 讨论(0)
  • 2020-11-27 10:00

    As per doc http://dev.mysql.com/doc/refman/5.0/en/server-status-variables.html#statvar_Connections

    Connections

    The number of connection attempts (successful or not) to the MySQL server.

    0 讨论(0)
提交回复
热议问题