文件首頁
MySQL 9.0 參考手冊
相關文件 下載本手冊
PDF (US Ltr) - 40.0Mb
PDF (A4) - 40.1Mb
Man Pages (TGZ) - 258.2Kb
Man Pages (Zip) - 365.3Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 9.0 參考手冊  /  ...  /  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

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