Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 47.0Mb
PDF (A4) - 47.0Mb
PDF (RPM) - 42.4Mb
HTML Download (TGZ) - 10.8Mb
HTML Download (Zip) - 10.9Mb
HTML Download (RPM) - 9.4Mb
Man Pages (TGZ) - 227.0Kb
Man Pages (Zip) - 333.7Kb
Info (Gzip) - 4.2Mb
Info (Zip) - 4.2Mb
Excerpts from this Manual

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

27.4.3.51 The waits_by_user_by_latency and x$waits_by_user_by_latency Views

These views summarize wait events, grouped by user and event. By default, rows are sorted by user and descending total latency. Idle events are ignored.

The waits_by_user_by_latency and x$waits_by_user_by_latency views have these columns:

  • user

    The user associated with the connection.

  • event

    The event name.

  • total

    The total number of occurrences of the event for the user.

  • total_latency

    The total wait time of timed occurrences of the event for the user.

  • avg_latency

    The average wait time per timed occurrence of the event for the user.

  • max_latency

    The maximum single wait time of timed occurrences of the event for the user.