26.4.3.25 schema_index_statistics 和 x $ schema_index_statistics 视图

这些视图提供索引统计信息。默认情况下,行按总索引延迟降低的 Sequences 排序。

schema_index_statisticsx$schema_index_statistics视图具有以下列:

  • table_schema

包含 table 的架构。

  • table_name

包含索引的 table。

  • index_name

索引名称。

  • rows_selected

使用索引读取的总行数。

  • select_latency

使用索引的定时读取的总 await 时间。

  • rows_inserted

插入索引的总行数。

  • insert_latency

定时插入的总 await 时间到索引中。

  • rows_updated

索引中更新的总行数。

  • update_latency

索引中定时更新的总 await 时间。

  • rows_deleted

从索引中删除的总行数。

  • delete_latency

定时从索引中删除的总 await 时间。