OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.2.0

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & Certification
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.2.0
    iconOceanBase Database
    SQL - V 4.2.0
    SQL
    KV
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    oceanbase.DBA_IND_SUBPARTITIONS

    Last Updated:2023-12-08 07:13:36  Updated
    share
    What is on this page
    Purpose
    Columns

    folded

    share

    Purpose

    The oceanbase.DBA_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
    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.

    Previous topic

    oceanbase.DBA_IND_PARTITIONS
    Last

    Next topic

    oceanbase.DBA_OB_DATABASES
    Next
    What is on this page
    Purpose
    Columns