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从索引删除的总等待时间。