Note
This view is available starting with V2.2.30.
Purpose
This view displays information about all index subpartitions in the database.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| INDEX_OWNER | VARCHAR2(128) | NO | The owner of the index. |
| INDEX_NAME | VARCHAR2(128) | NO | The name of the index. |
| PARTITION_NAME | VARCHAR2(128) | NO | The name of the partition. |
| SUBPARTITION_NAME | VARCHAR2(128) | NO | The name of the subpartition. |
| HIGH_VALUE | VARCHAR2(32767) | NO | The expression bound to the subpartition. |
| HIGH_VALUE_LENGTH | NUMBER | NO | The length of the expression bound to the subpartition. |
| PARTITION_POSITION | NUMBER | NO | The position of the partition in the index. |
| SUBPARTITION_POSITION | NUMBER | NO | The position of the subpartition in the partition. |
| STATUS | VARCHAR2(8) | NO | Indicates whether the index partition is available. |
| TABLESPACE_NAME | VARCHAR2(30) | NO | The name of the tablespace that contains the partition. |
| PCT_FREE | NUMBER | NO | This column is not supported. The value of this column is NULL by default. |
| INI_TRANS | NUMBER | NO | This column is not supported. The value of this column is NULL by default. |
| MAX_TRANS | NUMBER | NO | This column is not supported. The value of this column is NULL by default. |
| INITIAL_EXTENT | NUMBER | NO | This column is not supported. The value of this column is NULL by default. |
| NEXT_EXTENT | NUMBER | NO | This column is not supported. The value of this column is NULL by default. |
| MIN_EXTENT | NUMBER | NO | This column is not supported. The value of this column is NULL by default. |
| MAX_EXTENT |
NUMBER | NO | This column is not supported. It is currently NULL by default. | | MAX_SIZE | NUMBER | NO | This column is not supported. It is currently NULL by default. | | PCT_INCREASE | NUMBER | NO | This column is not supported. It is currently NULL by default. | | FREELISTS | NUMBER | NO | This column is not supported. It is currently NULL by default. | | FREELIST_GROUPS | NUMBER | NO | This column is not supported. It is currently NULL by default. | | LOGGING | VARCHAR2(3) | NO | This column is not supported. It is currently NULL by default. | | COMPRESSION | VARCHAR2(13) | NO | Indicates whether compression is enabled for the partitioned index:
| VARCHAR2(3) | NO | This column is not supported. The default value is NULL. | | INTERVAL | VARCHAR2(3) | NO | This column is not supported. The default value is NO. | | SEGMENT_CREATED | VARCHAR2(3) | NO | This column is not supported. The default value is NULL. | | DOMIDX_OPSTATUS | VARCHAR2(6) | NO | This column is not supported. The default value is NULL. | | PARAMETERS | VARCHAR2(1000) | NO | This column is not supported. The default value is NULL. |
Sample query
Query all index subpartitions in the database.
obclient [SYS]> SELECT INDEX_OWNER, INDEX_NAME, PARTITION_NAME, SUBPARTITION_NAME, HIGH_VALUE, PARTITION_POSITION, SUBPARTITION_POSITION FROM DBA_IND_SUBPARTITIONS;
The query result is as follows:
+-------------+----------------+----------------+-------------------+------------+--------------------+-----------------------+
| INDEX_OWNER | INDEX_NAME | PARTITION_NAME | SUBPARTITION_NAME | HIGH_VALUE | PARTITION_POSITION | SUBPARTITION_POSITION |
+-------------+----------------+----------------+-------------------+------------+--------------------+-----------------------+
| SYS | TBL2_F_RL_IDX1 | P0 | SP0 | 1,3 | 1 | 1 |
| SYS | TBL2_F_RL_IDX1 | P0 | SP1 | 4,6 | 1 | 2 |
| SYS | TBL2_F_RL_IDX1 | P0 | SP2 | 7,9 | 1 | 3 |
| SYS | TBL2_F_RL_IDX1 | P1 | SP3 | 1,3 | 2 | 1 |
| SYS | TBL2_F_RL_IDX1 | P1 | SP4 | 4,6 | 2 | 2 |
| SYS | TBL2_F_RL_IDX1 | P1 | SP5 | 7,9 | 2 | 3 |
+-------------+----------------+----------------+-------------------+------------+--------------------+-----------------------+
6 rows in set
References
Query all index subpartitions accessible to the current user: ALL_IND_SUBPARTITIONS
Query all index subpartitions owned by the current user: USER_IND_SUBPARTITIONS