Purpose
The oceanbase.CDB_IND_PARTITIONS view displays the partitioning information of the index tables of all tenants.
Note
This view was introduced in OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CON_ID | bigint(20) | NO | The ID of the tenant. |
| INDEX_OWNER | varchar(128) | NO | The owner of the index. |
| INDEX_NAME | varchar(128) | NO | The name of the index. |
| COMPOSITE | varchar(3) | NO | Indicates whether the partition belongs to the local index of the composite-partitioned table. Valid values: |
| PARTITION_NAME | varchar(128) | NO | The name of the partition. |
| SUBPARTITION_COUNT | bigint(20) | NO | The number of subpartitions. |
| HIGH_VALUE | mediumtext | NO | The expression for the value bound to the partition. |
| HIGH_VALUE_LENGTH | bigint(20) | NO | The length of the expression for the value bound to the partition. |
| PARTITION_POSITION | bigint(20) | NO | The position of the partition within the index. |
| STATUS | varchar(8) | NO | Indicates whether the index partition is usable. |
| TABLESPACE_NAME | varchar(30) | NO | The name of the tablespace containing the partition. |
| PCT_FREE | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| INI_TRANS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| MAX_TRANS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| INITIAL_EXTENT | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| NEXT_EXTENT | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| MIN_EXTENT | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| MAX_EXTENT | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| MAX_SIZE | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| PCT_INCREASE | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| FREELISTS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| FREELIST_GROUPS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| LOGGING | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| COMPRESSION | varchar(13) | NO | Indicates whether compression is enabled for the partitioned index. Valid values: |
| BLEVEL | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| LEAF_BLOCKS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| DISTINCT_KEYS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| AVG_LEAF_BLOCKS_PER_KEY | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| AVG_DATA_BLOCKS_PER_KEY | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| CLUSTERING_FACTOR | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| NUM_ROWS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| SAMPLE_SIZE | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| LAST_ANALYZED | date | NO | At present, this column is not supported and its value is NULL by default. |
| BUFFER_POOL | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| FLASH_CACHE | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| CELL_FLASH_CACHE | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| USER_STATS | varchar(3) | NO | At present, this column is not supported and its value is NULL by default. |
| PCT_DIRECT_ACCESS | bigint(0) | NO | At present, this column is not supported and its value is NULL by default. |
| GLOBAL_STATS | varchar(3) | NO | At present, this column is not supported and its value is NULL by default. |
| DOMIDX_OPSTATUS | varchar(6) | NO | At present, this column is not supported and its value is NULL by default. |
| PARAMETERS | text | NO | At present, this column is not supported and its value is NULL by default. |
| INTERVAL | varchar(3) | NO | At present, this column is not supported and its value is NULL by default. |
| SEGMENT_CREATED | varchar(3) | NO | At present, this column is not supported and its value is NULL by default. |
| ORPHANED_ENTRIES | varchar(3) | NO | At present, this column is not supported and its value is NULL by default. |