26.4.3.32 schema_unused_indexes 视图

这些视图显示没有事件的索引,table 明没有使用它们。默认情况下,行按架构和 table 排序。

当服务器启动且处理时间足够长(足以代 table 其工作量)时,此视图最有用。否则,此视图中索引的存在可能没有意义。

schema_unused_indexes视图包含以下列:

  • object_schema

模式名称。

  • object_name

table 名。

  • index_name

未使用的索引名称。