【问题标题】:the difference between Connections_connected and thread connected in mysqlmysql中Connections_connected和thread connected的区别
【发布时间】:2016-05-04 09:21:59
【问题描述】:

Mysql Query Results 有时,获取 max_user_connections 超过了,尽管如此,我可以建立连接,而其他事情是当前正在使用多少个连接。我怎么知道请帮忙。

【问题讨论】:

    标签: mysql database jdbc mysqlconnection


    【解决方案1】:

    ‘max_used_connections’ 变量定义自服务器启动以来同时使用的连接总数。

    与变量‘max_connections’ 相比,此变量有所不同。 系统变量‘max_connections’ 定义客户端允许的最大同时连接数。

    您可以使用公式(Max_used_connections/max_connections) 找到连接将被拒绝的最大连接数。您可以参考各种监控服务,例如 MONyog,它很好地定义了这些术语。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-01-28
      • 2013-07-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-10
      • 2023-02-02
      相关资源
      最近更新 更多