Purpose
The oceanbase.CDB_PART_INDEXES 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 | decimal(10,0) | NO | The ID of the tenant. |
| OWNER | varchar(128) | NO | The owner of the partitioned index. |
| INDEX_NAME | varchar(128) | NO | The name of the partitioned index. |
| TABLE_NAME | varchar(128) | NO | The name of the table that is associated with the index. |
| PARTITIONING_TYPE | varchar(13) | NO | The partitioning method. Valid values: |
| SUBPARTITIONING_TYPE | varchar(13) | NO | The subpartitioning method. Valid values: |
| PARTITION_COUNT | bigint(20) | NO | The number of partitions in the index. |
| DEF_SUBPARTITION_COUNT | bigint(20) | NO | The default number of subpartitions for a composite-partitioned index (if specified). |
| PARTITIONING_KEY_COUNT | bigint(21) | NO | The number of columns in the partitioning key. |
| SUBPARTITIONING_KEY_COUNT | bigint(21) | NO | The number of columns in the subpartitioning key for a composite-partitioned index. |
| LOCALITY | varchar(6) | NO | Indicates whether the partitioned index is local or global. Valid values: LOCAL and GLOBAL. |
| ALIGNMENT | varchar(12) | NO | Indicates whether the partitioned index is prefixed or non-prefixed. Valid values: PREFIXED and NON_PREFIXED. |
| DEF_TABLESPACE_NAME | varchar(30) | NO | The default tablespace for a local index when a table partition is added or split. |
| DEF_PCT_FREE | bigint(1) | NO | At present, this column is not supported and its value is 0 by default. |
| DEF_INI_TRANS | bigint(1) | NO | At present, this column is not supported and its value is 0 by default. |
| DEF_MAX_TRANS | bigint(1) | NO | At present, this column is not supported and its value is 0 by default. |
| DEF_INITIAL_EXTENT | varchar(40) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_NEXT_EXTENT | varchar(40) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_MIN_EXTENTS | varchar(40) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_MAX_EXTENTS | varchar(40) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_MAX_SIZE | varchar(40) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_PCT_INCREASE | varchar(40) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_FREELISTS | bigint(1) | NO | At present, this column is not supported and its value is 0 by default. |
| DEF_FREELIST_GROUPS | bigint(1) | NO | At present, this column is not supported and its value is 0 by default. |
| DEF_LOGGING | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_BUFFER_POOL | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_FLASH_CACHE | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_CELL_FLASH_CACHE | varchar(7) | NO | At present, this column is not supported and its value is NULL by default. |
| DEF_PARAMETERS | text | NO | At present, this column is not supported and its value is NULL by default. |
| INTERVAL | text | NO | At present, this column is not supported and its value is NO by default. |
| AUTOLIST | varchar(3) | NO | Indicates whether the local index is partitioned through the automatic list. Valid values: |
| INTERVAL_SUBPARTITION | text | NO | At present, this column is not supported and its value is NULL by default. |
| AUTOLIST_SUBPARTITION | text | NO | At present, this column is not supported and its value is NULL by default. |