Feature
USER_SUBPARTITION_TEMPLATES describes all subpartition templates.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only MySQL mode.
Related views
ALL_SUBPARTITION_TEMPLATES
DBA_SUBPARTITION_TEMPLATES
Fields
| Field | Type | Nullable | Description |
|---|---|---|---|
| TABLE_NAME | VARCHAR2(256) | NO | The name of the partitioned table. |
| SUBPARTITION_NAME | VARCHAR2(132) | NO | The name of the subpartition. |
| SUBPARTITION_POSITION | NUMBER | YES | The position of the subpartition. |
| TABLESPACE_NAME | VARCHAR2(30) | NO | The name of the tablespace containing the partition. |
| HIGH_BOUND | VARCHAR2(32767) | NO | The partition template expression. |
| COMPRESSION | VARCHAR2(4) | NO | Indicates whether the subpartition data is stored in compression format for each newly added composite partition in the subpartition template. Valid values:
This value can be specified in the subpartition template. This is the default value. |
| INDEXING | VARCHAR2(4) | NO | Indicates whether the subpartition data is taken as a part of the indexes for each newly added composite partition in the subpartition template. Valid values:
This value can be specified in the subpartition template. This is the default value. |
| READ_ONLY | VARCHAR2(4) | NO | Indicates whether the subpartition data is read-only in each newly added composite partition in the subpartition template. Valid values:
This value can be specified in the subpartition template. This is the default value. |