26.4.3.1 host_summary 和 x $ host_summary 视图

这些视图汇总了按主机分组的语句活动,文件 I/O 和连接。

host_summaryx$host_summary视图具有以下列:

  • host

Client 端从其连接的主机。基础性能模式 table 中的HOST列为NULL的行被假定为用于后台线程,并以background的主机名报告。

  • statements

主机的语句总数。

  • statement_latency

主机定时语句的总 await 时间。

  • statement_avg_latency

主机的每个定时语句的平均 await 时间。

  • table_scans

主机的 table 扫描总数。

  • file_ios

主机的文件 I/O 事件总数。

  • file_io_latency

主机定时文件 I/O 事件的总 await 时间。

  • current_connections

主机的当前连接数。

  • total_connections

主机的连接总数。

  • unique_users

主机的独立用户数。

  • current_memory

当前为主机分配的内存量。

  • total_memory_allocated

主机分配的内存总量。