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.6.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.6.0
    iconOceanBase Database
    SQL - V 4.6.0
    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

    oceanbase.DBA_OBJECTS

    Last Updated:2026-05-07 11:26:24  Updated
    share
    What is on this page
    Purpose
    Columns
    Sample query
    References

    folded

    share

    Note

    This view is available starting with V4.0.0.

    Purpose

    The oceanbase.DBA_OBJECTS view displays all database objects. The definition of this view is consistent with that of the ALL_OBJECTS view.

    Columns

    Column Type Nullable Description
    OWNER varchar(128) NO The owner of the object.
    OBJECT_NAME varchar(128) NO The name of the object.
    SUBOBJECT_NAME varchar(128) NO The name of the subobject. For example, partition.
    OBJECT_ID bigint(20) NO The dictionary ID of the object.
    DATA_OBJECT_ID bigint(20) NO The dictionary ID of the segment that contains the object.
    OBJECT_TYPE varchar(23) NO The type of the object. Valid values: TABLE, INDEX, PARTITION, PACKAGE, STORED PROCEDURE, SYNONYM, and SEQUENCE.
    CREATED datetime NO The creation time of the object.
    LAST_DDL_TIME datetime NO The last DDL time of the object.
    TIMESTAMP datetime NO The timestamp of the object, in character format.
    STATUS varchar(7) NO The status of the object. Valid values:
    • >VALID: valid
    • INVALID: invalid
    TEMPORARY varchar(1) NO Indicates whether the object is a temporary object.
    GENERATED varchar(1) NO Indicates whether the name of the object is generated by the system.
    SECONDARY varchar(1) NO This column is not in use.
    NAMESPACE bigint(1) NO The namespace of the object.
    EDITION_NAME varchar(128) NO Reserved.
    SHARING varchar(18) NO NULL by default.
    EDITIONABLE varchar(1) NO NULL by default.
    ORACLE_MAINTAINED varchar(1) NO NULL by default.
    APPLICATION varchar(1) NO NULL by default.
    DEFAULT_COLLATION varchar(1) NO NULL by default.
    DUPLICATED varchar(1) NO NULL by default.
    SHARDED varchar(1) NO NULL by default.
    IMPORTED_OBJECT varchar(1) NO NULL by default.
    CREATED_APPID bigint(0) NO NULL by default.
    CREATED_VSNID bigint(0) NO NULL by default.
    MODIFIED_APPID bigint(0) NO NULL by default.
    MODIFIED_VSNID bigint(0) NO NULL by default.

    Sample query

    Query the information of all database objects.

    obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OBJECTS limit 1 \G
    

    The query result is as follows:

    *************************** 1. row ***************************
                OWNER: oceanbase
          OBJECT_NAME: oceanbase
       SUBOBJECT_NAME: NULL
            OBJECT_ID: 202001
       DATA_OBJECT_ID: NULL
          OBJECT_TYPE: TABLEGROUP
              CREATED: 2024-05-08 14:20:29
        LAST_DDL_TIME: 2024-05-08 14:20:29
            TIMESTAMP: 2024-05-08 14:20:29
               STATUS: VALID
            TEMPORARY: N
            GENERATED: N
            SECONDARY: N
            NAMESPACE: 0
         EDITION_NAME: NULL
              SHARING: NULL
          EDITIONABLE: NULL
    ORACLE_MAINTAINED: NULL
          APPLICATION: NULL
    DEFAULT_COLLATION: NULL
           DUPLICATED: NULL
              SHARDED: NULL
      IMPORTED_OBJECT: NULL
        CREATED_APPID: NULL
        CREATED_VSNID: NULL
       MODIFIED_APPID: NULL
       MODIFIED_VSNID: NULL
    1 row in set (0.087 sec)
    

    References

    • ALL_OBJECTS

    • USER_OBJECTS

    Previous topic

    oceanbase.DBA_OB_ZONE_MAJOR_COMPACTION
    Last

    Next topic

    oceanbase.DBA_PART_COL_STATISTICS
    Next
    What is on this page
    Purpose
    Columns
    Sample query
    References