The schema_redundant_indexes 视图显示重复其他索引或被其他索引冗余化的索引。The x$schema_flattened_keys 视图是 schema_redundant_indexes 的辅助视图。
在下述列描述中,主索引是指导致冗余索引冗余的索引。
The schema_redundant_indexes 视图包含以下列
table_schema包含该表的模式。
table_name包含该索引的表。
redundant_index_name冗余索引的名称。
redundant_index_columns冗余索引中的列名称。
redundant_index_non_unique冗余索引中非唯一列的数量。
dominant_index_name主索引的名称。
dominant_index_columns主索引中的列名称。
dominant_index_non_unique主索引中非唯一列的数量。
subpart_exists该索引是否只索引列的一部分。
sql_drop_index用于删除冗余索引的语句。
The x$schema_flattened_keys 视图包含以下列
table_schema包含该表的模式。
table_name包含该索引的表。
index_name索引名称。
non_unique索引中非唯一列的数量。
subpart_exists该索引是否只索引列的一部分。
index_columns索引中的列名称。