Note
- For V4.3.x, this view is available starting with V4.3.0.
- For V4.2.x, this view is available starting with V4.2.3.
Overview
The DBA_INDEX_USAGE view is used to display index usage data.
Columns
Field |
Type |
Nullable |
Description |
|---|---|---|---|
| OBJECT_ID | bigint(20) | NO | Index Table ID |
| NAME | varchar(128) | NO | Index Table Name |
| OWNER | varchar(128) | NO | Database Name |
| TOTAL_ACCESS_COUNT | bigint(20) | NO | Total Accesses |
| TOTAL_EXEC_COUNT | bigint(20) | NO | Total Executions |
| TOTAL_ROWS_RETURNED | bigint(20) | NO | This field is not supported. |
| BUCKET_0_ACCESS_COUNT | bigint(20) | NO | This field is not supported. |
| BUCKET_1_ACCESS_COUNT | bigint(20) | NO | This field is not supported. |
| BUCKET_2_10_ACCESS_COUNT | bigint(20) | NO | This field is not supported. |
| BUCKET_2_10_ROWS_RETURNED | bigint(20) | NO | This field is not supported. |
| BUCKET_11_100_ACCESS_COUNT | bigint(20) | NO | This field is not supported. |
| BUCKET_11_100_ROWS_RETURNED | bigint(20) | NO | This field is not supported. |
| BUCKET_101_1000_ACCESS_COUNT | bigint(20) | NO | This field is not supported. |
| BUCKET_101_1000_ROWS_RETURNED | bigint(20) | NO | This field is not supported. |
| BUCKET_1000_PLUS_ACCESS_COUNT | bigint(20) | NO | This field is not supported. |
| BUCKET_1000_PLUS_ROWS_RETURNED | bigint(20) | NO | This field is not supported. |
| LAST_USED | varchar(128) | NO | Last Used Time of Index Table |
Sample query
Query index usage data.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_INDEX_USAGE;
