26.4.3.29 schema_table_statistics 和 x $ schema_table_statistics 视图

这些视图汇总了 table 统计信息。默认情况下,行按总 await 时间降序排序(争用最多的 table 排在最前面)。

这些视图使用辅助视图x$ps_schema_table_statistics_io

schema_table_statisticsx$schema_table_statistics视图具有以下列:

  • table_schema

包含 table 的架构。

  • table_name

table 名。

  • total_latency

table 的定时 I/O 事件的总 await 时间。

  • rows_fetched

从 table 中读取的总行数。

  • fetch_latency

table 的定时读取 I/O 事件的总 await 时间。

  • rows_inserted

插入 table 中的总行数。

  • insert_latency

table 的定时插入 I/O 事件的总 await 时间。

  • rows_updated

table 中更新的总行数。

  • update_latency

table 的定时更新 I/O 事件的总 await 时间。

  • rows_deleted

从 table 中删除的总行数。

  • delete_latency

table 的定时删除 I/O 事件的总 await 时间。

  • io_read_requests

table 的读取请求总数。

  • io_read

从 table 中读取的字节总数。

  • io_read_latency

从 table 中读取的总 await 时间。

  • io_write_requests

table 的写请求总数。

  • io_write

写入 table 的总字节数。

  • io_write_latency

写入 table 的总 await 时间。

  • io_misc_requests

该 table 的其他 I/O 请求总数。

  • io_misc_latency

table 的其他 I/O 请求的总 await 时间。