V$INDEX_USAGE_INFO
V$INDEX_USAGE_INFO keeps track of index usage since the last flush. A flush occurs every 15 minutes. After each flush, ACTIVE_ELEM_COUNT is reset to 0 and LAST_FLUSH_TIME is updated to the current time.
| Column | Datatype | Description |
|---|---|---|
INDEX_STATS_ENABLED |
NUMBER |
Indicates whether the index usage statistics are enabled. Possible values:
|
INDEX_STATS_COLLECTION_TYPE |
NUMBER |
Indicates the type of collection used for the index usage statistics. Possible values:
|
ACTIVE_ELEM_COUNT |
NUMBER |
The number of active indexes since the last flush |
ALLOC_ELEM_COUNT |
NUMBER |
The number of index entries allocated |
MAX_ELEM_COUNT |
NUMBER |
The maximum number of active indexes that can be tracked |
FLUSH_COUNT |
NUMBER |
Number of successful flushes since the database started |
TOTAL_FLUSH_DURATION |
NUMBER |
Cumulative elapsed time taken to complete the index usage statistics flush since the database start |
LAST_FLUSH_TIME |
TIMESTAMP(3) |
The time of the last flush |
STATUS_MSG |
VARCHAR2(256) |
Status messages, if any. Flush errors are reported here. |
CON_ID |
NUMBER |
The ID of the container to which the data pertains. Possible values include:
|
See Also: “DBA_INDEX_USAGE”