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

    oceanbase.DBA_OB_CLONE_PROGRESS

    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.3.0.

    Purpose

    The DBA_OB_CLONE_PROGRESS view displays information about running clone tasks.

    Columns

    Column
    Type
    Nullable
    Description
    CLONE_JOB_ID bigint(20) NO The primary key. The ID of the clone task.
    TRACE_ID varchar(64) NO The trace ID of the clone task.
    SOURCE_TENANT_ID bigint(20) NO The ID of the source tenant.
    SOURCE_TENANT_NAME varchar(128) NO The name of the source tenant.
    CLONE_TENANT_ID bigint(20) NO The ID of the clone tenant.
    CLONE_TENANT_NAME varchar(128) NO The name of the clone tenant.
    TENANT_SNAPSHOT_ID bigint(20) NO The snapshot ID.
    TENANT_SNAPSHOT_NAME varchar(128) NO The name of the snapshot.
    RESOURCE_POOL_ID bigint(20) NO The ID of the resource pool of the clone tenant.
    RESOURCE_POOL_NAME varchar(128) NO The name of the resource pool of the clone tenant.
    UNIT_CONFIG_NAME varchar(128) NO The name of the unit configuration of the clone tenant.
    RESTORE_SCN bigint(20) unsigned NO The target SCN to which the clone tenant is to be replayed.
    STATUS varchar(64) NO The current status of the clone task.
    CLONE_JOB_TYPE varchar(16) NO The type of the clone task. FORK: clones a tenant based on its current state.
    CLONE_START_TIME timestamp(6) NO The start time of the clone task.
    CLONE_FINISHED_TIME timestamp(6) YES The end time of the clone task.
    RET_CODE bigint(20) YES The error code of the clone task. This column allows NULL values.
    ERROR_MESSAGE varchar(512) YES The error message returned when the clone task fails. This column allows NULL values.

    Sample query

    Query information about running clone tasks.

    obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_CLONE_PROGRESS\G
    

    The query result is as follows:

    *************************** 1. row ***************************
            CLONE_JOB_ID: 1705560540805580608
                TRACE_ID: YB42AC1E87C9-00060F1AD6DF0259-0-0
        SOURCE_TENANT_ID: 1002
      SOURCE_TENANT_NAME: mysql001
         CLONE_TENANT_ID: 1010
       CLONE_TENANT_NAME: clone_tnt
      TENANT_SNAPSHOT_ID: 1705560540833085798
    TENANT_SNAPSHOT_NAME: _inner_snapshot$1705560540833081554
        RESOURCE_POOL_ID: 1005
      RESOURCE_POOL_NAME: clone_tnt_pool
        UNIT_CONFIG_NAME: unit001
             RESTORE_SCN: 1705560541854044646
                  STATUS: CLONE_SYS_CREATE_TENANT
          CLONE_JOB_TYPE: FORK
        CLONE_START_TIME: 2024-01-18 14:49:00.804883
     CLONE_FINISHED_TIME: NULL
                RET_CODE: NULL
           ERROR_MESSAGE: NULL
    1 row in set (0.001 sec)
    

    References

    For more information about tenant cloning, see the following topics:

    • Clone a tenant
    • Cancel a tenant clone task

    Previous topic

    oceanbase.DBA_OB_CLONE_HISTORY
    Last

    Next topic

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