OceanBase logo

OceanBase

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

Product Overview
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

OceanBase

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

Product Overview
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.4.2

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    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.4.2
    iconOceanBase Database
    SQL - V 4.4.2
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    SQL
    KV
    • V 4.6.0
    • 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

    DBA_IND_SUBPARTITIONS

    Last Updated:2026-04-02 06:23:58  Updated
    Share
    What is on this page
    Purpose
    Columns
    Sample query
    References

    folded

    Share

    Note

    This view is available starting with V2.2.30.

    Purpose

    This view displays information about all index subpartitions in the database.

    Columns

    Column
    Type
    Nullable
    Description
    INDEX_OWNER VARCHAR2(128) NO The owner of the index.
    INDEX_NAME VARCHAR2(128) NO The name of the index.
    PARTITION_NAME VARCHAR2(128) NO The name of the partition.
    SUBPARTITION_NAME VARCHAR2(128) NO The name of the subpartition.
    HIGH_VALUE VARCHAR2(32767) NO The expression that binds to the subpartition value.
    HIGH_VALUE_LENGTH NUMBER NO The length of the expression that binds to the subpartition value.
    PARTITION_POSITION NUMBER NO The position of the partition in the index.
    SUBPARTITION_POSITION NUMBER NO The position of the subpartition in the partition.
    STATUS VARCHAR2(8) NO Indicates whether the index partition is available.
    TABLESPACE_NAME VARCHAR2(30) NO The name of the tablespace that contains the partition.
    PCT_FREE NUMBER NO This column is not supported. The default value is NULL.
    INI_TRANS NUMBER NO This column is not supported. The default value is NULL.
    MAX_TRANS NUMBER NO This column is not supported. The default value is NULL.
    INITIAL_EXTENT NUMBER NO This column is not supported. The default value is NULL
    NEXT_EXTENT NUMBER NO This column is not supported. The default value is NULL
    MIN_EXTENT NUMBER NO This column is not supported. The default value is NULL.
    MAX_EXTENT NUMBER NO This column is not supported. The default value is NULL.
    MAX_SIZE NUMBER NO This column is not supported. The default value is NULL.
    PCT_INCREASE NUMBER NO This column is not supported. The default value is NULL.
    FREELISTS NUMBER NO This column is not supported. The default value is NULL
    FREELIST_GROUPS NUMBER NO This column is not supported. The default value is NULL
    LOGGING VARCHAR2(3) NO This column is not supported. The default value is NULL.
    COMPRESSION VARCHAR2(13) NO Indicates whether the partition index is compressed.
    • ENABLE: Compressed.
    • DISABLE: Not compressed.
    BLEVEL NUMBER NO This column is not supported. The default value is NULL
    LEAF_BLOCKS NUMBER NO This column is not supported. The default value is NULL.
    DISTINCT_KEYS NUMBER NO This column is not supported. The default value is NULL
    AVG_LEAF_BLOCKS_PER_KEY NUMBER NO This column is not supported. The default value is NULL.
    AVG_DATA_BLOCKS_PER_KEY NUMBER NO This column is not supported. The default value is NULL.
    CLUSTERING_FACTOR NUMBER NO This column is not supported. The default value is NULL
    NUM_ROWS NUMBER NO This column is not supported. The default value is NULL.
    SAMPLE_SIZE NUMBER NO This column is not supported. The default value is NULL
    LAST_ANALYZED DATE NO This column is not supported. The default value is NULL
    BUFFER_POOL VARCHAR2(7) NO This column is not supported. The default value is NULL.
    FLASH_CACHE VARCHAR2(7) NO This column is not supported. The default value is NULL.
    CELL_FLASH_CACHE VARCHAR2(7) NO This column is not supported. The default value is NULL.
    USER_STATS VARCHAR2(3) NO This column is not supported. The default value is NULL.
    GLOBAL_STATS VARCHAR2(3) NO This column is not supported. It will default to NULL.
    INTERVAL VARCHAR2(3) NO Currently not supported. This field is set to NO by default.
    SEGMENT_CREATED VARCHAR2(3) NO This column is not supported currently. It is default NULL.
    DOMIDX_OPSTATUS VARCHAR2(6) NO This column is currently not supported and the value defaults to NULL.
    PARAMETERS VARCHAR2(1000) NO This column is not supported and is currently set to NULL.

    Sample query

    Query all index subpartitions (subpartitions) in the database.

    obclient [SYS]> SELECT INDEX_OWNER, INDEX_NAME, PARTITION_NAME, SUBPARTITION_NAME, HIGH_VALUE, PARTITION_POSITION, SUBPARTITION_POSITION FROM DBA_IND_SUBPARTITIONS;
    

    The query result is as follows:

    +-------------+----------------+----------------+-------------------+------------+--------------------+-----------------------+
    | INDEX_OWNER | INDEX_NAME     | PARTITION_NAME | SUBPARTITION_NAME | HIGH_VALUE | PARTITION_POSITION | SUBPARTITION_POSITION |
    +-------------+----------------+----------------+-------------------+------------+--------------------+-----------------------+
    | SYS         | TBL2_F_RL_IDX1 | P0             | SP0               | 1,3        |                  1 |                     1 |
    | SYS         | TBL2_F_RL_IDX1 | P0             | SP1               | 4,6        |                  1 |                     2 |
    | SYS         | TBL2_F_RL_IDX1 | P0             | SP2               | 7,9        |                  1 |                     3 |
    | SYS         | TBL2_F_RL_IDX1 | P1             | SP3               | 1,3        |                  2 |                     1 |
    | SYS         | TBL2_F_RL_IDX1 | P1             | SP4               | 4,6        |                  2 |                     2 |
    | SYS         | TBL2_F_RL_IDX1 | P1             | SP5               | 7,9        |                  2 |                     3 |
    +-------------+----------------+----------------+-------------------+------------+--------------------+-----------------------+
    6 rows in set
    

    References

    • Query all index subpartitions (subpartitions) accessible to the current user: ALL_IND_SUBPARTITIONS

    • Query all index subpartitions (subpartitions) owned by the current user: USER_IND_SUBPARTITIONS

    Previous topic

    DBA_IND_STATISTICS
    Last

    Next topic

    DBA_INDEX_USAGE
    Next
    What is on this page
    Purpose
    Columns
    Sample query
    References