MySQL 8.4 Release Notes
30.4.3.25 schema_index_statistics 和 x$schema_index_statistics 视图
这些视图提供索引统计信息。默认情况下,行按降序的总索引延迟排序。
schema_index_statistics 和 x$schema_index_statistics 视图具有以下列:
-
table_schema
包含表的架构。
-
table_name
包含索引的表。
-
index_name
索引的名称。
-
rows_selected
使用索引读取的总行数。
-
select_latency
使用索引的总等待时间。
-
rows_inserted
插入索引的总行数。
-
insert_latency
插入索引的总等待时间。
-
rows_updated
更新索引的总行数。
-
update_latency
更新索引的总等待时间。
-
rows_deleted
从索引删除的总行数。
-
delete_latency
从索引删除的总等待时间。