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

    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.3.3
    iconOceanBase Database
    SQL - V 4.3.3
    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

    Views related to data backup

    Last Updated:2024-11-11 07:37:14  Updated
    share
    What is on this page
    CDB_OB_BACKUP_JOBS
    CDB_OB_BACKUP_JOB_HISTORY
    CDB_OB_BACKUP_TASKS
    CDB_OB_BACKUP_TASK_HISTORY
    CDB_OB_BACKUP_SET_FILES

    folded

    share

    OceanBase Database allows you to query views for the backup progress and results.

    CDB_OB_BACKUP_JOBS

    oceanbase.CDB_OB_BACKUP_JOBS displays the progress of data backup jobs for tenants.

    Field
    Description
    TENANT_ID The ID of the tenant that performed the backup job.
    JOB_ID The ID of the backup job.
    INCARNATION The ID of the incarnation.
    BACKUP_SET_ID The ID of the backup set.
    INITIATOR_TENANT_ID The ID of the tenant that initiated the backup job.
    INITIATOR_JOB_ID The job ID of the tenant that initiated the backup job.
    EXECUTOR_TENANT_ID The ID of the tenant backed up.
    PLUS_ARCHIVELOG Indicates whether log synchronization is enabled. Valid values:
    • ON: Log synchronization is enabled.
    • OFF: Log synchronization is disabled.
    BACKUP_TYPE The type of the backup. Valid values:
    • D: indicates full backup.
    • I: indicates incremental backup.
    JOB_LEVEL The job initiation level. Valid values:
    • CLUSTER: The sys tenant initiates backup jobs for all tenants.
    • SYS_TENANT: The sys tenant initiates backup jobs for specified tenants.
    • USER_TENANT: A user tenant initiates its own backup jobs.
    ENCRYPTION_MOD The encryption mode. Valid values:
    • None: indicates that encryption is disabled.
    • Password: indicates that only the password is used for protection.
    PASSWD The encryption password of the backup set.
    START_TIMESTAMP The time when the backup job started.
    END_TIMESTAMP The time when the backup job ended.
    STATUS The status of the backup job.
    RESULT The error code.
    COMMENT The description of the error code.
    DESCRIPTION The backup description specified by the user.
    PATH The backup path.

    CDB_OB_BACKUP_JOB_HISTORY

    oceanbase.CDB_OB_BACKUP_JOB_HISTORY displays the backup job history of tenants.

    Field
    Description
    TENANT_ID The ID of the tenant that performed the backup job.
    JOB_ID The ID of the backup job.
    INCARNATION The ID of the incarnation.
    BACKUP_SET_ID The ID of the backup set.
    INITIATOR_TENANT_ID The ID of the tenant that initiated the backup job.
    INITIATOR_JOB_ID The job ID of the tenant that initiated the backup job.
    EXECUTOR_TENANT_ID The ID of the tenant backed up.
    PLUS_ARCHIVELOG Indicates whether log synchronization is enabled. Valid values:
    • ON: Log synchronization is enabled.
    • OFF: Log synchronization is disabled.
    BACKUP_TYPE The type of the backup. Valid values:
    • D: indicates full backup.
    • I: indicates incremental backup.
    JOB_LEVEL The job initiation level. Valid values:
    • CLUSTER: The sys tenant initiates backup jobs for all tenants.
    • SYS_TENANT: The sys tenant initiates backup jobs for specified tenants.
    • USER_TENANT: A user tenant initiates its own backup jobs.
    ENCRYPTION_MOD The encryption mode. Valid values:
    • None: indicates that encryption is not implemented.
    • Password: indicates that only the password is used for protection.
    • Password Encryption: indicates that encryption is implemented and the password is used for protection.
    • Transparent Encryption: indicates that TDE is used for encryption.
    • Dual Mode Encryption: indicates that TDE is used for encryption and the password is also used for protection.

    In the current version, only the None and Password modes are supported.
    PASSWD The encryption password of the backup set.
    START_TIMESTAMP The time when the backup job started.
    END_TIMESTAMP The time when the backup job ended.
    STATUS The status of the backup job.
    RESULT The error code.
    COMMENT The description of the error code.
    DESCRIPTION The backup description specified by the user.
    PATH The backup path.

    CDB_OB_BACKUP_TASKS

    oceanbase.CDB_OB_BACKUP_TASKS displays the progress of data backup tasks for tenants.

    Field
    Description
    TENANT_ID The ID of the tenant that performed the backup job.
    TASK_ID The ID of the backup task for a backup set.
    JOB_ID The ID of the job to which the backup task belongs.
    INCARNATION The ID of the incarnation.
    BACKUP_SET_ID The ID of the backup set corresponding to the backup task.
    START_TIMESTAMP The time when the backup task was initiated.
    END_TIMESTAMP The time when the backup task ended.
    STATUS The status of the backup task.
    START_SCN The start SCN of the backup task.
    END_SCN The end SCN of the backup task.
    USER_LS_START_SCN The start SCN of the user log stream.
    ENCRYPTION_MODE The encryption mode. Valid values:
    • None: indicates that encryption is not implemented.
    • Password: indicates that only the password is used for protection.
    • Password Encryption: indicates that encryption is implemented and the password is used for protection.
    • Transparent Encryption: indicates that TDE is used for encryption.
    • Dual Mode Encryption: indicates that TDE is used for encryption and the password is also used for protection.

    In the current version, only the None and Password modes are supported.
    PASSWD The encryption password of the backup set.
    INPUT_BYTES The number of input bytes.
    OUTPUT_BYTES The number of output bytes.
    OUTPUT_RATE_BYTES The output rate.
    EXTRA_META_BYTES The number of extra bytes of metadata.
    TABLET_COUNT The total number of partitions.
    FINISH_TABLET_COUNT The number of partitions backed up.
    MACRO_BLOCK_COUNT The number of macroblocks.
    FINISH_MACRO_BLOCK_COUNT The number of macroblocks backed up.
    FILE_COUNT The number of files.
    META_TURN_ID The round of the metadata backup.
    DATA_TURN_ID The round of the data backup.
    RESULT The error code.
    COMMENT The description of the error code.
    PATH The backup path.
    MINOR_TURN_ID The last round of the minor compaction data backup.
    MAJOR_TURN_ID The last round of the baseline data backup.
    DATA_PROGRESS The progress of a data backup task. Calculation formula: Number of backed up macroblocks/Total number of macroblocks. The result value contains two decimal places. For example, 87.65 indicates that the current task progress is 87.65%.
    LOG_FILE_COUNT The total number of archived clog files.
    FINISH_LOG_FILE_COUNT The number of archived clog files that are backed up.
    LOG_PROGRESS The progress of an archived clog file backup task. Calculation formula: Number of archived clog files that are backed up/Total number of archived clog files. The result value contains two decimal places. For example, 87.65 indicates that the current task progress is 87.65%.

    CDB_OB_BACKUP_TASK_HISTORY

    oceanbase.CDB_OB_BACKUP_TASK_HISTORY displays the backup task history of tenants.

    Field
    Description
    TENANT_ID The ID of the tenant that performed the backup job.
    TASK_ID The ID of the backup task for a backup set.
    JOB_ID The ID of the job to which the backup task belongs.
    INCARNATION The ID of the incarnation.
    BACKUP_SET_ID The ID of the backup set corresponding to the backup task.
    START_TIMESTAMP The time when the backup task was initiated.
    END_TIMESTAMP The time when the backup task ended.
    STATUS The status of the backup task.
    START_SCN The start system change number (SCN) of the backup task.
    END_SCN The end SCN of the backup task.
    USER_LS_START_SCN The start SCN of the user log stream.
    ENCRYPTION_MODE The encryption mode. Valid values:
    • None: indicates that encryption is not implemented.
    • Password: indicates that only the password is used for protection.
    • Password Encryption: indicates that encryption is implemented and the password is used for protection.
    • Transparent Encryption: indicates that TDE is used for encryption.
    • Dual Mode Encryption: indicates that TDE is used for encryption and the password is also used for protection.

    In the current version, only the None and Password modes are supported.
    PASSWD The encryption password of the backup set.
    INPUT_BYTES The number of input bytes.
    OUTPUT_BYTES The number of output bytes.
    OUTPUT_RATE_BYTES The output rate.
    EXTRA_META_BYTES The number of extra bytes of metadata.
    TABLET_COUNT The total number of partitions.
    FINISH_TABLET_COUNT The number of partitions backed up.
    MACRO_BLOCK_COUNT The number of macroblocks.
    FINISH_MACRO_BLOCK_COUNT The number of macroblocks backed up.
    FILE_COUNT The number of files.
    META_TURN_ID The round of the metadata backup.
    DATA_TURN_ID The round of the data backup.
    RESULT The error code.
    COMMENT The description of the error code.
    PATH The backup path.
    MINOR_TURN_ID The last round of the minor compaction data backup.
    MAJOR_TURN_ID The last round of the baseline data backup.

    CDB_OB_BACKUP_SET_FILES

    oceanbase.CDB_OB_BACKUP_SET_FILES displays the backup sets of tenants.

    Field
    Description
    TENANT_ID The ID of the tenant that performed the backup job.
    BACKUP_SET_ID The ID of the backup set.
    DEST_ID The ID of the path.
    INCARNATION The ID of the incarnation.
    BACKUP_TYPE The type of the backup.
    PREV_FULL_BACKUP_SET_ID The ID of the previous full backup set on which the current backup set depends.
    PREV_INC_BACKUP_SET_ID The ID of the previous incremental backup on which the current backup set depends.
    START_TIMESTAMP The start timestamp of the backup.
    END_TIMESTAMP The end timestamp of the backup.
    STATUS The status of the backup set. Valid values:
    • SUCCESS: indicates that the backup was successful.
    • FAILED: indicates that the backup failed.
    FILE_STATUS The file status of the backup set.
    ELAPSED_SECONDES The backup duration.
    PLUS_ARCHIVELOG Indicates whether log synchronization is enabled.
    START_REPLAY_SCN The start SCN of the logs on which the backup set depends.
    START_REPLAY_SCN_DISPLAY The timestamp corresponding to the start SCN of the logs on which the backup set depends.
    MIN_RESTORE_SCN The minimum SCN at which data can be restored from the backup set.
    MIN_RESTORE_SCN_DISPLAY The timestamp corresponding to the minimum SCN at which data can be restored from the backup set.
    INPUT_BYTES The number of input bytes.
    OUTPUT_BYTES The number of output bytes.
    OUTPUT_RATE_BYTES The output rate.
    EXTRA_META_BYTES The number of extra bytes of metadata.
    TABLET_COUNT The total number of partitions.
    FINISH_TABLET_COUNT The number of partitions backed up.
    MACRO_BLOCK_COUNT The number of macroblocks.
    FINISH_MACRO_BLOCK_COUNT The number of macroblocks backed up.
    FILE_COUNT The number of files.
    META_TURN_ID The round of the metadata backup.
    DATA_TURN_ID The round of the data backup.
    RESULT The error code.
    COMMENT The description of the error code.
    ENCRYPTION_MODE The encryption mode. Valid values:
    • None: indicates that encryption is not implemented.
    • Password: indicates that only the password is used for protection.
    • Password Encryption: indicates that encryption is implemented and the password is used for protection.
    • Transparent Encryption: indicates that TDE is used for encryption.
    • Dual Mode Encryption: indicates that TDE is used for encryption and the password is also used for protection.

    In the current version, only the None and Password modes are supported.
    PASSWD The password of the backup set.
    TENANT_COMPATIBLE The tenant version number.
    BACKUP_COMPATIBLE The version number of the backup set.
    PATH The backup path.
    CLUSTER_VERSION The version number of the source cluster.
    CONSISTENT_SCN The backup consistency timestamp.
    MINOR_TURN_ID The last round of the minor compaction data backup.
    MAJOR_TURN_ID The last round of the baseline data backup.

    Previous topic

    Change the backup destination
    Last

    Next topic

    Automatic cleanup of expired backups
    Next
    What is on this page
    CDB_OB_BACKUP_JOBS
    CDB_OB_BACKUP_JOB_HISTORY
    CDB_OB_BACKUP_TASKS
    CDB_OB_BACKUP_TASK_HISTORY
    CDB_OB_BACKUP_SET_FILES