DBA_OB_TABLEGROUP_SUBPARTITIONS

2023-12-08 07:13:36  Updated

Purpose

The DBA_OB_TABLEGROUP_SUBPARTITIONS view displays information about the subpartitions of a partitioned table group.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
TABLEGROUP_NAME VARCHAR2(128) NO The name of the table group.
PARTITION_NAME VARCHAR2(64) NO The name of the partition corresponding to the subpartition of the table group.
SUBPARTITION_NAME VARCHAR2(64) NO The name of a subpartition of the table group.
HIGH_VALUE VARCHAR2(4096) NO The subpartitioning key value for the partitioned table group. For a HASH- or KEY-subpartitioned table group, the value is NULL.
HIGH_VALUE_LENGTH NUMBER NO The character length of the partitioning key value when HIGH_VALUE is valid.
PARTITION_POSITION NUMBER NO The number of the partition corresponding to the subpartition in the table group, which starts from 1. If the partitioning type is:
  • LIST or LIST COLUMNS, this value is in a partial ordering relation with the partition creation time.
  • RANGE or RANGE COLUMNS, this value is in a partial ordering relation with HIGH_VALUE.
  • HASH or KEY, PARTITION_POSITION minus 1 indicates the partitioning key value % the number of partitions.
  • SUBPARTITION_POSITION NUMBER NO The number of the partition corresponding to the subpartition in the table group, which starts from 1. If the subpartitioning type is:
  • LIST or LIST COLUMNS, this value is in a partial ordering relation with the partition creation time.
  • RANGE or RANGE COLUMNS, this value is in a partial ordering relation with HIGH_VALUE.
  • HASH or KEY, SUBPARTITION_POSITION minus 1 indicates the subpartitioning key value % the number of subpartitions corresponding to the partition.
  • Contact Us