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
計時從索引刪除的總等待時間。