io_by_thread_by_latency and x$io_by_thread_by_latency Sys Schema Views
These views rank threads by I/O latency, making it easier to identify specific threads that are consuming the most disk resources.
Description
Column
Description
Example
SELECT * FROM sys.io_by_thread_by_latency\G
*************************** 1. row ***************************
user: main
total: 378
total_latency: 40.11 ms
min_latency: 570.21 ns
avg_latency: 206.02 us
max_latency: 4.33 ms
thread_id: 1
processlist_id: NULL
*************************** 2. row ***************************
user: msandbox@localhost
total: 521
total_latency: 10.28 ms
min_latency: 775.04 ns
avg_latency: 21.79 us
max_latency: 977.79 us
thread_id: 89
processlist_id: 7
...
SELECT * FROM sys.x$io_by_thread_by_latency\G
*************************** 1. row ***************************
user: main
total: 378
total_latency: 40106340880
min_latency: 570208
avg_latency: 206016046.6000
max_latency: 4327780456
thread_id: 1
processlist_id: NULL
*************************** 2. row ***************************
user: msandbox@localhost
total: 498
total_latency: 9637694714
min_latency: 775040
avg_latency: 21364289.0000
max_latency: 977787350
thread_id: 89
processlist_id: 7
...Previousinnodb_lock_waits and x$innodb_lock_waits Sys Schema ViewsNextio_global_by_file_by_bytes and x$io_global_by_file_by_bytes Sys Schema Views
Last updated
Was this helpful?

