DBA_INDEXES

2023-10-24 09:23:03  Updated

Purpose

DBA_INDEXES displays the indexes on all tables in the database.

  • USER_INDEXES

  • ALL_INDEXES

Fields

Field Type Nullable? Description
OWNER VARCHAR2(128) NO The owner of the index.
INDEX_NAME VARCHAR2(128) NO The name of the index.
INDEX_TYPE VARCHAR2(27) YES The type of the index.
TABLE_OWNER VARCHAR2(128) NO The owner of the indexed object.
TABLE_NAME VARCHAR2(128) NO The name of the indexed object.
TABLE_TYPE CHAR(5) YES The type of the indexed object.
UNIQUENESS VARCHAR2(9) YES Indicates whether the index is unique.
COMPRESSION VARCHAR2(8) YES Indicates whether the index is compressed.
PREFIX_LENGTH NUMBER YES The number of columns in the prefix of the compressed index. At present, this field is not supported and is NULL by default.
TABLESPACE_NAME VARCHAR2(30) YES The name of the tablespace containing the index.
INI_TRANS NUMBER YES The initial number of transactions. At present, this field is not supported and is NULL by default.
MAX_TRANS NUMBER YES The maximum number of transactions. At present, this field is not supported and is NULL by default.
INITIAL_EXTENT NUMBER YES The size of the initial extent. At present, this field is not supported and is NULL by default.
NEXT_EXTENT NUMBER YES The size of secondary extents. At present, this field is not supported and is NULL by default.
MIN_EXTENTS NUMBER YES The minimum number of extents allowed in the segment. At present, this field is not supported and is NULL by default.
MAX_EXTENTS NUMBER YES The maximum number of extents allowed in the segment. At present, this field is not supported and is NULL by default.
PCT_INCREASE NUMBER YES The percentage increase in extent size. At present, this field is not supported and is NULL by default.
PCT_THRESHOLD NUMBER YES The percentage of block space allowed for each index. At present, this field is not supported and is NULL by default.
INCLUDE_COLUMN NUMBER YES The column ID of the last column in the primary key of the index-organized table. At present, this field is not supported and is NULL by default.
FREELISTS NUMBER YES The number of process freelists allocated to each segment. At present, this field is not supported and is NULL by default.
FREELIST_GROUPS NUMBER YES The number of freelist groups allocated to each segment. At present, this field is not supported and is NULL by default.
PCT_FREE NUMBER YES The minimum percentage of free space in a block. At present, this field is not supported and is NULL by default.
LOGGING VARCHAR2(3) YES Indicates whether logs are recorded for changes to the index. At present, this field is not supported and is NULL by default.
BLEVEL NUMBER YES The B*-tree level. At present, this field is not supported and is NULL by default.
LEAF_BLOCKS NUMBER YES The number of leaf blocks in the index. At present, this field is not supported and is NULL by default.
DISTINCT_KEYS NUMBER YES The number of distinct indexed values. At present, this field is not supported and is NULL by default.
AVG_LEAF_BLOCKS_PER_KEY NUMBER YES At present, this field is not supported and is NULL by default.
AVG_DATA_BLOCKS_PER_KEY NUMBER YES At present, this field is not supported and is NULL by default.
CLUSTERING_FACTOR NUMBER YES At present, this field is not supported and is NULL by default.
STATUS VARCHAR2(10) YES Indicates whether a nonpartitioned index is VALID or UNUSABLE.
NUM_ROWS NUMBER YES At present, this field is not supported and is NULL by default.
SAMPLE_SIZE NUMBER YES At present, this field is not supported and is NULL by default.
LAST_ANALYZED DATE YES At present, this field is not supported and is NULL by default.
DEGREE VARCHAR2(40) YES At present, this field is not supported and is NULL by default.
INSTANCES VARCHAR2(40) YES At present, this field is not supported and is NULL by default.
PARTITIONED VARCHAR2(3) YES Indicates whether the index is partitioned.
TEMPORARY VARCHAR2(1) YES At present, this field is not supported and is NULL by default.
GENERATED VARCHAR2(1) YES At present, this field is not supported and is NULL by default.
SECONDARY VARCHAR2(1) YES At present, this field is not supported and is NULL by default.
BUFFER_POOL VARCHAR2(7) YES At present, this field is not supported and is NULL by default.
FLASH_CACHE VARCHAR2(7) YES At present, this field is not supported and is NULL by default.
CELL_FLASH_CACHE VARCHAR2(7) YES At present, this field is not supported and is NULL by default.
USER_STATS VARCHAR2(3) YES At present, this field is not supported and is NULL by default.
DURATION VARCHAR2(15) YES At present, this field is not supported and is NULL by default.
PCT_DIRECT_ACCESS NUMBER YES At present, this field is not supported and is NULL by default.
ITYP_OWNER VARCHAR2(30) YES At present, this field is not supported and is NULL by default.
ITYP_NAME VARCHAR2(30) YES At present, this field is not supported and is NULL by default.
PARAMETERS VARCHAR2(1000) YES At present, this field is not supported and is NULL by default.
GLOBAL_STATS VARCHAR2(3) YES At present, this field is not supported and is NULL by default.
DOMIDX_STATUS VARCHAR2(12) YES At present, this field is not supported and is NULL by default.
DOMIDX_OPSTATUS VARCHAR2(6) YES At present, this field is not supported and is NULL by default.
FUNCIDX_STATUS VARCHAR2(8) YES The status of a function-based index.
JOIN_INDEX VARCHAR2(3) YES Indicates whether the index is a join index.
IOT_REDUNDANT_PKEY_ELIM VARCHAR2(3) YES At present, this field is not supported and is NULL by default.
DROPPED VARCHAR2(9) YES Indicates whether the index has been dropped and moved to the recycle bin.
VISIBILITY VARCHAR2(10) YES Indicates whether the index is visible to the optimizer.
DOMIDX_MANAGEMENT VARCHAR2(14) YES At present, this field is not supported and is NULL by default.
SEGMENT_CREATED VARCHAR2(3) YES At present, this field is not supported and is NULL by default.

Contact Us