MySQL 8.4 發行說明
這些檢視提供索引統計資訊。預設情況下,資料列會依總索引延遲時間遞減排序。
schema_index_statistics 和 x$schema_index_statistics 檢視具有以下欄位:
table_schema包含表格的 schema。
table_name包含索引的表格。
index_name索引的名稱。
rows_selected使用索引讀取的資料列總數。
select_latency使用索引計時讀取的總等待時間。
rows_inserted插入到索引的資料列總數。
insert_latency計時插入到索引的總等待時間。
rows_updated在索引中更新的資料列總數。
update_latency在索引中計時更新的總等待時間。
rows_deleted從索引刪除的資料列總數。
delete_latency計時從索引刪除的總等待時間。