10bet网址
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr)- 42.0Mb
PDF (A4)- 42.1Mb
Man Pages (TGZ)- 267.1Kb
Man Pages (Zip)- 376.8Kb
Info (Gzip)- 4.0Mb
Info (Zip)- 4.0Mb
Excerpts from this Manual

28.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.

Theuser_summaryandx$user_summaryviews have these columns:

  • user

    The client user name. Rows for which theUSERcolumn in the underlying Performance Schema table isNULLare assumed to be for background threads and are reported with a host name ofbackground.

  • 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

    目前的数量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.