The schema_redundant_indexes
view displays indexes that duplicate other indexes or are made
redundant by them. The
x$schema_flattened_keys
view is a helper view for
schema_redundant_indexes.
In the following column descriptions, the dominant index is the one that makes the redundant index redundant.
The schema_redundant_indexes
view has these columns:
table_schemaThe schema that contains the table.
table_nameThe table that contains the index.
redundant_index_nameThe name of the redundant index.
redundant_index_columnsThe names of the columns in the redundant index.
redundant_index_non_uniqueThe number of nonunique columns in the redundant index.
dominant_index_nameThe name of the dominant index.
dominant_index_columnsThe names of the columns in the dominant index.
dominant_index_non_uniqueThe number of nonunique columns in the dominant index.
subpart_existsWhether the index indexes only part of a column.
sql_drop_indexThe statement to execute to drop the redundant index.
The
x$schema_flattened_keys
view has these columns:
table_schemaThe schema that contains the table.
table_nameThe table that contains the index.
index_nameAn index name.
non_uniqueThe number of nonunique columns in the index.
subpart_existsWhether the index indexes only part of a column.
index_columnsThe name of the columns in the index.