oceanbase.CDB_IND_SUBPARTITIONS

2023-12-08 07:13:36  Updated

Purpose

The oceanbase.CDB_IND_SUBPARTITIONS view displays information about all index subpartitions in the database.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
CON_ID decimal(10,0) 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.
PARTITION_NAME varchar(128) NO The name of the partition.
SUBPARTITION_NAME varchar(128) NO The name of the subpartition.
HIGH_VALUE mediumtext NO The expression for the value bound with the subpartition.
HIGH_VALUE_LENGTH bigint(20) NO The length of the expression for the value bound with the subpartition.
PARTITION_POSITION bigint(20) NO The position of the partition within the index.
SUBPARTITION_POSITION bigint(20) NO The position of a subpartition in a partition.
STATUS varchar(8) NO Indicates whether the index partition is usable.
TABLESPACE_NAME varchar(30) NO The name of the tablespace that contains the partition.
PCT_FREE bigint(0) NO The minimum percentage of available space in a block. At present, this column is not supported and is NULL by default.
INI_TRANS bigint(0) NO The initial number of transactions. At present, this column is not supported and is NULL by default.
MAX_TRANS bigint(0) NO The maximum number of transactions. At present, this column is not supported and is NULL by default.
INITIAL_EXTENT bigint(0) NO The size of the initial extent, in the unit of bytes. At present, this column is not supported and is NULL by default.
NEXT_EXTENT bigint(0) NO The size of secondary extents, in the unit of bytes. At present, this column is not supported and is NULL by default.
MIN_EXTENT bigint(0) NO The minimum number of extents allowed in the segment. At present, this column is not supported and is NULL by default.
MAX_EXTENT bigint(0) NO The maximum number of extents allowed in the segment. At present, this column is not supported and is NULL by default.
MAX_SIZE bigint(0) NO The maximum number of blocks allowed in the segment. At present, this column is not supported and is NULL by default.
PCT_INCREASE bigint(0) NO The percentage increase in the extent size. At present, this column is not supported and is NULL by default.
FREELISTS bigint(0) NO The number of process freelists that are allocated in the segment. At present, this column is not supported and is NULL by default.
FREELIST_GROUPS bigint(0) NO The number of process freelist groups that are allocated in the segment. At present, this column is not supported and is NULL by default.
LOGGING varchar(3) NO Indicates whether logs are recorded for changes to the index. At present, this column is not supported and is NULL by default.
COMPRESSION varchar(13) NO Indicates whether compression is enabled for the partitioned index. Valid values:
  • ENABLE
  • DISABLE
  • BLEVEL bigint(0) NO The B-tree level, that is, the depth of the index from its root block to its leaf blocks. A depth of 0 indicates that the root block and the leaf blocks are the same. At present, this column is not supported and is NULL by default.
    LEAF_BLOCKS bigint(0) NO The number of leaf blocks in the index. At present, this column is not supported and is NULL by default.
    DISTINCT_KEYS bigint(0) NO The number of distinct keys in the index partition. At present, this column is not supported and is NULL by default.
    AVG_LEAF_BLOCKS_PER_KEY bigint(0) NO The average number of leaf blocks in which each distinct value in the index appears. The value is rounded to the nearest integer. The value is always 1 for indexes that enforce the UNIQUE and PRIMARY KEY constraints. At present, this column is not supported and is NULL by default.
    AVG_DATA_BLOCKS_PER_KEY bigint(0) NO The average number of data blocks in the table that are pointed to by different values in the index that are rounded to the nearest integer. This statistical data is the average number of data blocks containing rows that have a specified value for the indexed columns. At present, this column is not supported and is NULL by default.
    CLUSTERING_FACTOR bigint(0) NO The number of rows in the table based on the value of the index. At present, this column is not supported and is NULL by default.
    NUM_ROWS bigint(0) NO The number of rows in the index subpartition. At present, this column is not supported and is NULL by default.
    SAMPLE_SIZE bigint(0) NO The sample size used in analyzing this subpartition. At present, this column is not supported and is NULL by default.
    LAST_ANALYZED date NO The most recent date on which this partition was analyzed. At present, this column is not supported and is NULL by default.
    BUFFER_POOL varchar(7) NO The default buffer pool for the subpartition. At present, this column is not supported and is NULL by default.
    FLASH_CACHE varchar(7) NO The database smart flash cache hint for subpartition blocks. At present, this column is not supported and is NULL by default.
    CELL_FLASH_CACHE varchar(7) NO The cell flash cache hint for subpartition blocks. At present, this column is not supported and is NULL by default.
    USER_STATS varchar(3) NO Indicates whether the statistical information was directly entered by the user. At present, this column is not supported and is NULL by default.
    GLOBAL_STATS varchar(3) NO
  • Indicates whether statistics for the partition were collected. If yes, the value is YES.
  • If no, the value is NO.
    At present, this column is not supported and is NULL by default.
  • INTERVAL varchar(3) NO Indicates whether the partition is in the interval section of an interval partitioned table or in the range section. The value is YES if the partition is in the interval section, and is NO if the partition is in the range section. At present, this column is not supported and is NULL by default.
    SEGMENT_CREATED varchar(3) NO Indicates whether the index subpartition segment has been created. The value N/A indicates that the index is not subpartitioned. At present, this column is not supported and is NULL by default.
    DOMIDX_OPSTATUS varchar(6) NO The status of the operation on a domain index. At present, this column is not supported and is NULL by default.
    PARAMETERS text NO The parameter string for a domain index. At present, this column is not supported and is NULL by default.

    Contact Us