DBA_INDEXES
In this view are listed all the indexes in the database. There are the corresponding ALL_INDEXES
and USER_INDEXES
, showing, respectively, the indexes which the current user can access and the indexes the current user owns.
Fields
The most relevant view fields are as follows:
OWNER
: The owner of the indexINDEX_NAME
: The name of the indexTABLE_OWNER
: The owner of the table on which the index is builtTABLE_NAME
: The name of the table on which the index is builtTABLESPACE_NAME
: The name of the tablespace in which the index is storedSTATUS
: This can beVALID
orUNUSABLE
INDEX_TYPE
: The type of the index; can beNORMAL
,BITMAP
,FUNCTION-BASED NORMAL
,FUNCTION-BASED BITMAP
, orDOMAIN
TABLE_TYPE
: The type of the indexed object (TABLE
orCLUSTER
)UNIQUENESS
: Whether the index isUNIQUE
orNONUNIQUE
COMPRESSION
: If the index is compressed then the value isENABLED
, elseDISABLED
PREFIX_LENGTH
: The number of columns in the compressed prefix of the keyLEAF_BLOCKS
: The number of leaf blocks in the index