Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 38.5Mb
PDF (A4) - 38.5Mb
PDF (RPM) - 33.3Mb
HTML Download (TGZ) - 8.1Mb
HTML Download (Zip) - 8.2Mb
HTML Download (RPM) - 7.0Mb
Man Pages (TGZ) - 134.2Kb
Man Pages (Zip) - 190.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  /  ...  /  The user_summary and x$user_summary Views

26.4.3.41 The user_summary and x$user_summary Views

These views summarize statement activity, file I/O, and connections, grouped by user. By default, rows are sorted by descending total latency.

The user_summary and x$user_summary views have these columns:

  • user

    The client user name. Rows for which the USER column in the underlying Performance Schema table is NULL are assumed to be for background threads and are reported with a host name of background.

  • statements

    The total number of statements for the user.

  • statement_latency

    The total wait time of timed statements for the user.

  • statement_avg_latency

    The average wait time per timed statement for the user.

  • table_scans

    The total number of table scans for the user.

  • file_ios

    The total number of file I/O events for the user.

  • file_io_latency

    The total wait time of timed file I/O events for the user.

  • current_connections

    The current number of connections for the user.

  • total_connections

    The total number of connections for the user.

  • unique_hosts

    The number of distinct hosts from which connections for the user have originated.

  • current_memory

    The current amount of allocated memory for the user.

  • total_memory_allocated

    The total amount of allocated memory for the user.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.