26.4.3.30 schema_table_statistics_with_buffer 和 x $ schema_table_statistics_with_buffer 视图

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

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

schema_table_statistics_with_bufferx$schema_table_statistics_with_buffer视图具有以下列:

  • table_schema

包含 table 的架构。

  • table_name

table 名。

  • 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 时间。

  • innodb_buffer_allocated

为 table 分配的InnoDB个缓冲区字节总数。

  • innodb_buffer_data

为该 table 分配的InnoDB个数据字节的总数。

  • innodb_buffer_free

为 table 分配的InnoDB个非数据字节总数(innodb_buffer_allocated-innodb_buffer_data)。

  • innodb_buffer_pages

分配给该 table 的InnoDB页总数。

  • innodb_buffer_pages_hashed

为该 table 分配的InnoDB个哈希页总数。

  • innodb_buffer_pages_old

为该 table 分配的InnoDB旧页总数。

  • innodb_buffer_rows_cached

该 table 的InnoDB个缓存行总数。