All Products
Search
Document Center

PolarDB:DBA_INDEXES

Last Updated:Mar 28, 2026

The DBA_INDEXES view lists all indexes in the database, including their owners, associated tables, uniqueness, and current status.

ColumnTypeDescription
ownerTEXTUsername of the index owner.
schema_nameTEXTName of the schema containing the index.
index_nameTEXTName of the index.
index_typeTEXTIncluded only for compatibility. Always BTREE.
table_ownerTEXTUsername of the owner of the indexed table.
table_nameTEXTName of the indexed table.
table_typeTEXTIncluded only for compatibility. Always TABLE.
uniquenessTEXTWhether the index enforces uniqueness. Valid values: UNIQUE, NONUNIQUE.
compressionCHARACTER(1)Included only for compatibility. Always N (not compressed).
tablespace_nameTEXTName of the tablespace in which the table is located, if this tablespace is not the default tablespace.
loggingTEXTIncluded only for compatibility. Always LOGGING.
statusTEXTWhether the index is usable. Valid values: VALID, INVALID.
partitionedCHARACTER(3)Included only for compatibility. Always NO.
temporaryCHARACTER(1)Included only for compatibility. Always N.
secondaryCHARACTER(1)Included only for compatibility. Always N.
join_indexCHARACTER(3)Included only for compatibility. Always NO.
droppedCHARACTER(3)Included only for compatibility. Always NO.
Columns marked "Included only for compatibility" always return a fixed value and do not reflect the actual database state.