Documentation Home
MySQL 8.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 39.8Mb
PDF (A4) - 39.9Mb
Man Pages (TGZ) - 257.9Kb
Man Pages (Zip) - 364.9Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 8.4 Reference Manual  /  ...  /  The schema_table_statistics and x$schema_table_statistics Views

30.4.3.29 schema_table_statistics 和 x$schema_table_statistics 视图

这些视图总结了表的统计信息。默认情况下,行按降序的总等待时间排序(最多 contention 的表首先出现)。

这些视图使用了助手视图 x$ps_schema_table_statistics_io

schema_table_statisticsx$schema_table_statistics 视图具有以下列:

  • table_schema

    包含表的架构名称。

  • table_name

    表名。

  • total_latency

    表的总等待时间(以毫秒为单位)。

  • rows_fetched

    从表中读取的总行数。

  • fetch_latency

    表的总读取等待时间(以毫秒为单位)。

  • rows_inserted

    插入到表中的总行数。

  • insert_latency

    表的总插入等待时间(以毫秒为单位)。

  • rows_updated

    更新表中的总行数。

  • update_latency

    表的总更新等待时间(以毫秒为单位)。

  • rows_deleted

    从表中删除的总行数。

  • delete_latency

    表的总删除等待时间(以毫秒为单位)。

  • io_read_requests

    表的总读请求次数。

  • io_read

    从表中读取的总字节数。

  • io_read_latency

    表的总读取等待时间(以毫秒为单位)。

  • io_write_requests

    表的总写请求次数。

  • io_write

    写入表中的总字节数。

  • io_write_latency

    表的总写等待时间(以毫秒为单位)。

  • io_misc_requests

    表的总杂项 I/O 请求次数。

  • io_misc_latency

    表的总杂项 I/O 等待时间(以毫秒为单位)。