host_summary_by_statement_latency and x$host_summary_by_statement_latency Sys Schema Views
These views summarize statement statistics grouped by host, sorted by total latency, helping to identify hosts running the most time-consuming queries.
Description
Column
Description
Example
SELECT * FROM sys.host_summary_by_statement_latency\G
*************************** 1. row ***************************
host: localhost
total: 1042
total_latency: 816.89 ms
max_latency: 64.51 ms
lock_latency: 215.64 ms
rows_sent: 750599937895985
rows_examined: 13548
rows_affected: 6
full_scans: 33
*************************** 2. row ***************************
host: background
total: 0
total_latency: 0 ps
max_latency: 0 ps
lock_latency: 0 ps
rows_sent: 0
rows_examined: 0
rows_affected: 0
full_scans: 0
SELECT * FROM sys.x$host_summary_by_statement_latency\G
*************************** 1. row ***************************
host: localhost
total: 1041
total_latency: 812132706000
max_latency: 64507216000
lock_latency: 215301000000
rows_sent: 750599937895983
rows_examined: 13110
rows_affected: 6
full_scans: 32
*************************** 2. row ***************************
host: background
total: 0
total_latency: 0
max_latency: 0
lock_latency: 0
rows_sent: 0
rows_examined: 0
rows_affected: 0
full_scans: 0Previoushost_summary_by_statement_type and x$host_summary_by_statement_type Sys Schema ViewsNextinnodb_buffer_stats_by_schema and x$innodb_buffer_stats_by_schema Sys Schema Views
Last updated
Was this helpful?

