命令:mysqladmin -uroot -p -h172.16.0.20 status

Uptime: 14317755  Threads: 61  Questions: 187732924  Slow queries: 0  Opens: 32933  Flush tables: 1  Open tables: 1968  Queries per second avg: 13.111

 

Uptime:是mysql正常运行的时间。

Threads:指开启的会话数

Questions: 服务器启动以来客户的问题(查询)数目  (应该是只要跟mysql作交互:不管你查询表,还是查询服务器状态都问记一次)。

Slow queries:慢查询

Opens:服务器已经打开的数据库表的数量

Flush tables: 服务器已经执行的flush、refresh和reload命令的数量。

open tables:通过命令是用的数据库的表的数量,以服务器启动开始。

 Queries per second avg:select语句平均查询时间

相关文章:

  • 2021-11-27
  • 2021-09-24
  • 2021-11-17
  • 2021-06-22
猜你喜欢
  • 2022-02-10
  • 2022-02-10
  • 2022-02-10
  • 2021-12-07
  • 2021-04-17
  • 2022-02-10
相关资源
相似解决方案