Note
This view is available starting with V2.2.30.
Purpose
This view displays information about all index subpartitions owned by the current user in the database. Compared with DBA_IND_SUBPARTITIONS and ALL_IND_SUBPARTITIONS, this view does not contain the INDEX_OWNER column.
Applicability
This view is available only in Oracle-compatible mode.
Columns
| Column | Type | Nullable | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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(1024) | 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 containing the partition. | ||||||||||
| PCT_FREE | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| INI_TRANS | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| MAX_TRANS | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| INITIAL_EXTENT | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| NEXT_EXTENT | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| MIN_EXTENT | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| MAX_EXTENT | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| MAX_SIZE | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| PCT_INCREASE | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| FREELISTS | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| FREELIST_GROUPS | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| LOGGING | VARCHAR2(7) | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| COMPRESSION | VARCHAR2(8) | NO | Indicates whether the partition index is compressed:
|
||||||||||
| BLEVEL | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| LEAF_BLOCKS | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| DISTINCT_KEYS | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| AVG_LEAF_BLOCKS_PER_KEY | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| AVG_DATA_BLOCKS_PER_KEY | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| CLUSTERING_FACTOR | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| NUM_ROWS | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| SAMPLE_SIZE | NUMBER | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| LAST_ANALYZED | DATE | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| BUFFER_POOL | VARCHAR2(7) | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| FLASH_CACHE | VARCHAR2(7) | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| CELL_FLASH_CACHE | VARCHAR2(7) | NO | This column is not supported. The value of this column is NULL. | ||||||||||
| COLUMN | TYPE | NULLABLE | DESCRIPTION | -------------------------- | ---------------- | ---------------- | ------------------------------------------ | USER_STATS | VARCHAR2(3) | NO | This column is not supported and is NULL. | ||
| COLUMN | VARCHAR2(3) | NO | This column is currently not supported and will be set to NULL. | ||||||||||
| INTERVAL | VARCHAR2(3) | NO | This column is not currently supported, and the default value is NO. |
||||||||||
| SEGMENT_CREATED | VARCHAR2(3) | NO | This field is not supported yet and is displayed as NULL at present. | ||||||||||
| Parameters | VARCHAR2(1000) | NO | This parameter is not supported. The value for this column is NULL. | ||||||||||
| DOMIDX_OPSTATUS | VARCHAR2(6) | NO | This column is not supported, and is displayed as NULL. |
Sample query
Query the information about index subpartitions (subpartitions) in the databases owned by the current user.
obclient [SYS]> SELECT INDEX_NAME, PARTITION_NAME, SUBPARTITION_NAME, HIGH_VALUE, PARTITION_POSITION, SUBPARTITION_POSITION FROM USER_IND_SUBPARTITIONS;
The query result is as follows:
+----------------+----------------+-------------------+------------+--------------------+-----------------------+
| INDEX_NAME | PARTITION_NAME | SUBPARTITION_NAME | HIGH_VALUE | PARTITION_POSITION | SUBPARTITION_POSITION |
+----------------+----------------+-------------------+------------+--------------------+-----------------------+
| TBL2_F_RL_IDX1 | P0 | SP0 | 1,3 | 1 | 1 |
| TBL2_F_RL_IDX1 | P0 | SP1 | 4,6 | 1 | 2 |
| TBL2_F_RL_IDX1 | P0 | SP2 | 7,9 | 1 | 3 |
| TBL2_F_RL_IDX1 | P1 | SP3 | 1,3 | 2 | 1 |
| TBL2_F_RL_IDX1 | P1 | SP4 | 4,6 | 2 | 2 |
| TBL2_F_RL_IDX1 | P1 | SP5 | 7,9 | 2 | 3 |
+----------------+----------------+-------------------+------------+--------------------+-----------------------+
6 rows in set
References
Query the information about all index subpartitions in the current tenant: DBA_IND_SUBPARTITIONS
Query the information about all index subpartitions accessible by the current user: ALL_IND_SUBPARTITIONS