文件首頁
MySQL 8.4 參考手冊
相關文件 下載本手冊
PDF (US Ltr) - 39.9Mb
PDF (A4) - 40.0Mb
Man Pages (TGZ) - 258.5Kb
Man Pages (Zip) - 365.5Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 8.4 參考手冊  /  ...  /  schema_index_statistics 和 x$schema_index_statistics 檢視

30.4.3.25 schema_index_statistics 和 x$schema_index_statistics 檢視

這些檢視提供索引統計資訊。預設情況下,資料列會依總索引延遲時間遞減排序。

schema_index_statisticsx$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

    計時從索引刪除的總等待時間。