Note
- This view is available starting with V4.3.0 for V4.3.x.
- This view is available starting with V4.2.3 for V4.2.x.
Purpose
The DBA_INDEX_USAGE view displays index usage data.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| OBJECT_ID | NUMBER | NO | The ID of the index table. |
| NAME | VARCHAR2(128) | YES | The name of the index table. |
| OWNER | VARCHAR2(128) | YES | The name of the database. |
| TOTAL_ACCESS_COUNT | NUMBER | NO | The total number of accesses. |
| TOTAL_EXEC_COUNT | NUMBER | NO | The total number of executions. |
| TOTAL_ROWS_RETURNED | NUMBER | NO | This column is not supported. |
| BUCKET_0_ACCESS_COUNT | NUMBER | NO | This column is not supported. |
| BUCKET_1_ACCESS_COUNT | NUMBER | NO | This column is not supported. |
| BUCKET_2_10_ACCESS_COUNT | NUMBER | NO | This column is not supported. |
| BUCKET_2_10_ROWS_RETURNED | NUMBER | NO | This column is not supported. |
| BUCKET_11_100_ACCESS_COUNT | NUMBER | NO | This column is not supported. |
| BUCKET_11_100_ROWS_RETURNED | NUMBER | NO | This column is not supported. |
| BUCKET_101_1000_ACCESS_COUNT | NUMBER | NO | This column is not supported. |
| BUCKET_101_1000_ROWS_RETURNED | NUMBER | NO | This column is not supported. |
| BUCKET_1000_PLUS_ACCESS_COUNT | NUMBER | NO | This column is not supported. |
| BUCKET_1000_PLUS_ROWS_RETURNED | NUMBER | NO | This column is not supported. |
| LAST_USED | VARCHAR2(128) | NO | The last time the index table was used. |
Sample query
Query index usage data.
obclient [SYS]> SELECT * FROM SYS.DBA_INDEX_USAGE;