host_summary and x$host_summary Sys Schema Views

The host_summary views provide a high-level overview of activity per client host, including statement counts, file I/O, and connection statistics.

Sys Schema views are available from MariaDB 10.6.

Description

The host_summary and x$host_summary views contain host activity information, grouped by host. The host_summary view is intended to be easier for human reading, while the x$host_summary view provides the data in raw form, intended for tools that process the data.

They contain the following columns:

Column
Description

host

Host that the client connected from, or background for background threads (where the HOST column in the underlying Performance Schema table is NULL).

statements

Total number of statements for the host.

statement_latency

Total wait time of timed statements for the host.

statement_avg_latency

Average wait time per timed statement for the host.

table_scans

Total table scans for the host.

file_ios

Total file I/O events for the host.

file_io_latency

Total wait time of timed file I/O events for the host.

current_connections

Current connections for the host.

total_connections

Total connections for the host.

unique_users

Number of distinct users for the host.

current_memory

Current allocated memory for the host.

total_memory_allocated

Total allocated memory for the host.

Example

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?