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

    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.1
    iconOceanBase Database
    SQL - V 4.2.1
    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_RECOVER_TABLE_JOB_HISTORY

    Last Updated:2023-12-25 08:49:41  Updated
    share
    What is on this page
    Purpose
    Columns

    folded

    share

    Purpose

    The oceanbase.DBA_OB_RECOVER_TABLE_JOB_HISTORY view displays the result of table-level restore jobs.

    Note

    This view is introduced since OceanBase Database V4.2.1.

    Columns

    Column Type Nullable? Description
    JOB_ID bigint(20) NO The ID of the job.
    INITIATOR_TENANT_ID bigint(20) NO The tenant ID of the parent job.
    INITIATOR_JOB_ID bigint(20) NO The ID of the parent job.
    START_TIMESTAMP timestamp(6) NO The time on the tenant when the job was started.
    FINISH_TIMESTAMP timestamp(6) NO The time on the tenant when the job was completed.
    STATUS varchar(64) NO The status of the job. Valid values:
    • COMPLETED: The job is completed.
    • FAILED: The job failed.
    AUX_TENANT_NAME varchar(64) NO The name of the auxiliary tenant.
    TARGET_TENANT_NAME varchar(64) NO The name of the target tenant.
    IMPORT_ALL tinyint(4) NO Indicates whether to import all tables in the tenant. The value is 1 if RECOVER TABLE *.* is specified, and is 0 in other scenarios.
    DB_LIST longtext YES The database to restore.
    TABLE_LIST longtext YES The tables to restore.
    RESTORE_SCN bigint(20) unsigned NO The restore system change number (SCN).
    RESTORE_SCN_DISPLAY datetime(6) NO The restore SCN displayed as a timestamp.
    RESTORE_OPTION varchar(4096) NO The restore options that the auxiliary tenant depends on.
    BACKUP_DEST varchar(4096) NO The path for backup and archiving.
    BACKUP_SET_LIST longtext NO The path for data backup.
    BACKUP_PIECE_LIST longtext NO The path for log archiving.
    BACKUP_PASSWD varchar(4096) YES The password of the backup set.
    EXTERNAL_KMS_INFO varchar(4096) YES The Key Management Service (KMS) information of the source tenant. This column must be configured in the session. If Key Management Service (KMS) is enabled for the source tenant, you need to set EXTERNAL_KMS_INFO through the session.
    REMAP_DB_LIST longtext YES The list of renamed databases, in the db1:new_db1, db2:newdb2 format.
    REMAP_TABLE_LIST longtext YES The list of renamed tables, in the db1.t1:new_t1, db1.t2:db2.new_t2 format.
    REMAP_TABLEGROUP_LIST longtext YES The list of remapped table groups in the tg1:new_tg1, tg2:new_tg2 format. You can remap a table from the original table group to the target table group.
    REMAP_TABLESPACE_LIST longtext YES The list of remapped tablespaces, in the ts1:new_ts1, ts2:new_ts2 format. You can remap a table from the original tablespace to the target tablespace.
    RESULT varchar(64) YES The result of the table-level restore task. Valid values:
    • SUCCESS
    • FAIL
    COMMENT longtext YES The additional information.
    DESCRIPTION longtext YES The description specified in the restore statement.

    Previous topic

    oceanbase.DBA_OB_IMPORT_TABLE_TASKS
    Last

    Next topic

    oceanbase.DBA_OB_IMPORT_TABLE_JOB_HISTORY
    Next
    What is on this page
    Purpose
    Columns