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

    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.5
    iconOceanBase Database
    SQL - V 4.2.5
    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_OB_RESTORE_PROGRESS

    Last Updated:2026-04-15 08:24:15  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

    This view displays the ongoing restore tasks of the current tenant.

    Columns

    Column Type Nullable Description
    JOB_ID bigint(20) NO The job ID of the restore task.
    RESTORE_TENANT_NAME longtext NO The name of the tenant to be restored.
    RESTORE_TENANT_ID longtext NO The ID of the tenant to be restored.
    BACKUP_TENANT_NAME longtext NO The name of the source tenant.
    BACKUP_TENANT_ID longtext NO The ID of the source tenant.
    BACKUP_CLUSTER_NAME longtext NO The name of the source cluster.
    BACKUP_DEST longtext NO The backup set path, which is the data backup path and log archive path specified by the user.
    RESTORE_OPTION longtext NO The restore option specified by the user when initiating the restore task.
    RESTORE_SCN bigint(20) unsigned NO The restore point specified by the user.
    RESTORE_SCN_DISPLAY datetime(6) NO The timestamp of the restore point specified by the user.
    STATUS longtext NO The restore status. The status of the restore task for the system tenant and the tenant to be restored may be inconsistent.
    System tenant:
    • CREATE_TENANT: creates the tenant to be restored.
    • WAIT_TENANT_RESTORE_FINISH: waits for the tenant to be restored to complete.
    • RESTORE_SUCCESS: the tenant is restored.
    • RESTORE_FAIL: the tenant fails to be restored.

    Tenant to be restored:
    • RESTORING: the tenant data is being restored.
    • RESTORE_SUCCESS: the tenant is restored.
    • RESTORE_FAIL: the tenant fails to be restored.
    START_TIMESTAMP datetime(6) NO The timestamp when the restore task starts.
    BACKUP_SET_LIST longtext NO The list of data backup set paths required for the restore task. The backup sets are separated by commas (,). For example: file:///data/nfs/backup/data/backup_set_1_full,file:///data/nfs/backup/data/backup_set_2_inc
    BACKUP_PIECE_LIST longtext NO The list of log archive shard paths required for the restore task. The shards are separated by commas (,). For example: file:///data/nfs/backup/archive/piece_d1001r1p1,file:///data/nfs/backup/archive/piece_d1001r2p2
    RECOVER_SCN bigint(20) unsigned NO The restore point of the log. For the system tenant, the value of this field is NULL.

    Note

    • For V4.2.1, this field is available starting with V4.2.1 BP7.
    • For other V4.2.x versions, this field is available starting with V4.2.3.
    RECOVER_SCN_DISPLAY datetime(6) NO The timestamp of the restore point of the log. For the system tenant, the value of this field is NULL.

    Note

    • For V4.2.1, this field is available starting with V4.2.1 BP7.
    • For other V4.2.x versions, this field is available starting with V4.2.3.
    RECOVER_PROGRESS decimal(6,2) NO The log restore progress, which is rounded to two decimal places. For example, 87.65 indicates that the progress is 87.65%. For the system tenant, the value of this field is NULL.

    Note

    • For V4.2.1, this field is available starting with V4.2.1 BP7.
    • For other V4.2.x versions, this field is available starting with V4.2.3.
    TABLET_COUNT bigint(20) NO The total number of tablets to be restored. For the system tenant, the value of this field is NULL.

    Note

    • For V4.2.1, this field is available starting with V4.2.1 BP7.
    • For other V4.2.x versions, this field is available starting with V4.2.3.
    FINISH_TABLET_COUNT bigint(20) NO The total number of tablets that have been restored. For the system tenant, the value of this field is NULL.

    Note

    • For V4.2.1, this field is available starting with V4.2.1 BP7.
    • For other V4.2.x versions, this field is available starting with V4.2.3.
    RESTORE_PROGRESS decimal(6,2) NO The data restore progress, which is rounded to two decimal places. For example, 87.65 indicates that the progress is 87.65%. For the system tenant, the value of this field is NULL.

    Note

    • For V4.2.1, this field is available starting with V4.2.1 BP7.
    • For other V4.2.x versions, this field is available starting with V4.2.3.
    TOTAL_BYTES bigint(20) NO The total number of bytes restored.
    TOTAL_BYTES_DISPLAY varchar(27) NO The total number of bytes restored, displayed in the storage unit.
    FINISH_BYTES bigint(20) NO The number of bytes restored. In the current version, this value is always 0.
    FINISH_BYTES_DISPLAY varchar(27) NO The number of bytes restored, displayed in the storage unit. In the current version, this value is always 0.
    DESCRIPTION longtext NO The DESCRIPTION information specified in the restore command.

    Sample query

    Query the progress of ongoing restore tasks in the current system tenant.

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

    The query result is as follows:

    *************************** 1. row ***************************
                  JOB_ID: 4
     RESTORE_TENANT_NAME: AUX_RECOVER$1736316932764846
       RESTORE_TENANT_ID: 1014
      BACKUP_TENANT_NAME: mysql001
        BACKUP_TENANT_ID: 1002
     BACKUP_CLUSTER_NAME: test425
             BACKUP_DEST: file:///home/admin/oceanbase/arglog,file:///home/admin/oceanbase/backupdata
          RESTORE_OPTION: pool_list=rptest
             RESTORE_SCN: 1736316906889750000
     RESTORE_SCN_DISPLAY: 2025-01-08 14:15:06.889750
                  STATUS: WAIT_TENANT_RESTORE_FINISH
         START_TIMESTAMP: 2025-01-08 14:15:32.769596
         BACKUP_SET_LIST: file:///home/admin/oceanbase/backupdata/backup_set_5_full
       BACKUP_PIECE_LIST: file:///home/admin/oceanbase/arglog/piece_d1001r1p1,file:///home/admin/oceanbase/arglog/piece_d1001r1p2
             RECOVER_SCN: NULL
     RECOVER_SCN_DISPLAY: NULL
        RECOVER_PROGRESS: NULL
            TABLET_COUNT: NULL
     FINISH_TABLET_COUNT: NULL
        RESTORE_PROGRESS: NULL
             TOTAL_BYTES: NULL
     TOTAL_BYTES_DISPLAY: NULL
            FINISH_BYTES: NULL
    FINISH_BYTES_DISPLAY: NULL
             DESCRIPTION:
    1 row in set
    

    References

    • CDB_OB_RESTORE_PROGRESS

    • View the physical restore progress

    Previous topic

    oceanbase.DBA_OB_RESTORE_HISTORY
    Last

    Next topic

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