Purpose
The oceanbase.DBA_PART_TABLES view provides information about a partitioned table.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| OWNER | varchar(128) | NO | The owner of the partitioned table. |
| TABLE_NAME | varchar(128) | NO | The name of the partitioned table. |
| 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 partitioned table. |
| DEF_SUBPARTITION_COUNT | bigint(20) | NO | The default number of subpartitions for a composite-partitioned table. |
| PARTITIONING_KEY_COUNT | BIGINT(21) | NO | The number of partitioning keys. |
| SUBPARTITIONING_KEY_COUNT | BIGINT(21) | NO | The number of subpartitioning keys for a composite-partitioned table. |
| STATUS | varchar(8) | NO | At present, this column is not supported and is NULL by default. |
| DEF_TABLESPACE_NAME | varchar(30) | NO | The name of the tablespace containing the partitioned table. |
| DEF_PCT_FREE | bigint(0) | NO | At present, this column is not supported and is NULL by default. |
| DEF_PCT_USED | bigint(0) | NO | At present, this column is not supported and is NULL by default. |
| DEF_INI_TRANS | bigint(0) | NO | At present, this column is not supported and is NULL by default. |
| DEF_MAX_TRANS | bigint(0) | NO | At present, this column is not supported and is NULL by default. |
| DEF_INITIAL_EXTENT | varchar(40) | NO | At present, this column is not supported and is NULL by default. |
| DEF_NEXT_EXTENT | varchar(40) | NO | At present, this column is not supported and is NULL by default. |
| DEF_MIN_EXTENTS | varchar(40) | NO | At present, this column is not supported and is NULL by default. |
| DEF_MAX_EXTENTS | varchar(40) | NO | At present, this column is not supported and is NULL by default. |
| DEF_MAX_SIZE | varchar(40) | NO | At present, this column is not supported and is NULL by default. |
| DEF_PCT_INCREASE | varchar(40) | NO | At present, this column is not supported and is NULL by default. |
| DEF_FREELISTS | bigint(0) | NO | At present, this column is not supported and is NULL by default. |
| DEF_FREELIST_GROUPS | bigint(0) | NO | At present, this column is not supported and is NULL by default. |
| DEF_LOGGING | varchar(7) | NO | At present, this column is not supported and is NULL by default. |
| DEF_COMPRESSION | varchar(8) | NO | Indicates whether compression is enabled. |
| DEF_COMPRESS_FOR | varchar(12) | NO | The compression method. |
| DEF_BUFFER_POOL | varchar(7) | NO | At present, this column is not supported and is NULL by default. |
| DEF_FLASH_CACHE | varchar(7) | NO | At present, this column is not supported and is NULL by default. |
| DEF_CELL_FLASH_CACHE | varchar(7) | NO | At present, this column is not supported and is NULL by default. |
| REF_PTN_CONSTRAINT_NAME | varchar(30) | NO | At present, this column is not supported and is NULL by default. |
| INTERVAL | text | YES | At present, this column is not supported and is NULL by default. |
| AUTOLIST | varchar(3) | NO | Indicates whether the table is partitioned by using the automatic list. Valid values: |
| INTERVAL_SUBPARTITION | text | NO | The string of the subpartition interval. |
| AUTOLIST_SUBPARTITION | varchar(3) | NO | Indicates whether the subpartition is partitioned through the automatic list. Valid values: |
| IS_NESTED | varchar(3) | NO | At present, this column is not supported and is NULL by default. |
| DEF_SEGMENT_CREATED | varchar(4) | NO | At present, this column is not supported and is NULL by default. |
| DEF_INDEXING | varchar(3) | NO | The index attribute specified for the table. Valid values:ON-INDEXING: ON is explicitly specified, or the index attribute is not specified.OFF-INDEXING: The index attribute is disabled. |
| DEF_INMEMORY | varchar(8) | NO | Indicates whether in-memory column store is used for partitions in the table. Valid values:ENABLED: In-memory column store is enabled. This is the default value.DISABLED: In-memory column store is disabled.NONE: The column is not specified. |
| DEF_INMEMORY_PRIORITY | varchar(8) | NO | The default priority padded by in-memory column store. Valid values: |
| DEF_INMEMORY_DISTRIBUTE | varchar(15) | NO | The default way that in-memory column store is allocated to partitions of the table in a Real Application Clusters (RAC) environment. Valid values: |
| DEF_INMEMORY_COMPRESSION | varchar(17) | NO | The default compression level for in-memory column store. Valid values: |
| DEF_INMEMORY_DUPLICATE | varchar(13) | NO | The default duplicate settings for in-memory column store in the RAC environment. Valid values: |
| DEF_READ_ONLY | varchar(3) | NO | The default settings for new partitions. Valid values:YES: The new partitions are read-only by default.NO: The new partitions are read/write by default. |
| DEF_CELLMEMORY | varchar(24) | NO | Indicates that new partitions in the parent table will inherit the default value of the CELLMEMORY property unless it is explicitly overridden. |
| DEF_INMEMORY_SERVICE | varchar(12) | NO | The way that in-memory column store is padded by default for table partitioning on various instances. Valid values:DEFAULTPARALLEL_INSTANCE_GROUP: Data is padded on all instances specified by the initialization parameter. This is the default value. If this column is not set, data is padded for all instances.NONE: Data is not padded for any instance.ALL: Data is padded for all instances regardless of the settings of the initialization parameter PARALLEL_INSTANCE_GROUP.USER_DEFINED: Data is padded only for instances where the user-defined service is active. The service name is saved in the DEF_INMEMORY_SERVICE_NAME column. |
| DEF_INMEMORY_SERVICE_NAME | text | NO | The way that in-memory column store is padded by default for table partitioning on various instances. Valid values:DEFAULTPARALLEL_INSTANCE_GROUP: Data is padded on all instances specified by the initialization parameter. This is the default value. If this column is not set, data is padded for all instances.NONE: Data is not padded for any instance.ALL: Data is padded for all instances regardless of the settings of the initialization parameter PARALLEL_INSTANCE_GROUP.USER_DEFINED: Data is padded only for instances where the user-defined service is active. The service name is saved in the DEF_INMEMORY_SERVICE_NAME column. |
| AUTO | varchar(3) | NO | Indicates whether the table is partitioned automatically. Valid values: |