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

    DBA_OB_BACKUP_SET_FILES

    Last Updated:2024-12-02 03:48:27  Updated
    Share
    What is on this page
    Purpose
    Columns
    Sample query
    References

    folded

    Share

    Note

    This view is introduced since OceanBase Database V4.0.0.

    Purpose

    The DBA_OB_BACKUP_SET_FILES view displays the file status of backup sets.

    Columns

    Column
    Type
    Nullable?
    Description
    BACKUP_SET_ID NUMBER(38) NO The ID of the backup set.
    DEST_ID NUMBER(38) NO The ID of the backup path.
    INCARNATION NUMBER(38) NO The nth incarnation of the database after the Flashback Database operation.
    BACKUP_TYPE VARCHAR2(64) NO The type of the backup. Valid values:
  • D: indicates full backup.
  • I: indicates incremental backup.
  • PREV_FULL_BACKUP_SET_ID NUMBER(38) NO The backup set ID of the previous full backup on which the current backup set depends.
    PREV_INC_BACKUP_SET_ID NUMBER(38) NO The backup set ID of the previous incremental backup on which the current backup set depends.
    START_TIMESTAMP VARCHAR2(256) NO The timestamp when the secondary backup of the backup set started.
    END_TIMESTAMP VARCHAR2(256) NO The timestamp when the secondary backup of the backup set is completed.
    STATUS varchar2(64) NO The backup status.
    FILE_STATUS varchar2(64) NO The file status of the backup set. Valid values:
  • COPYING: indicates that the file is being backed up.
  • AVAILABLE: indicates that the backup is valid.
  • DELETING: indicates that the file is being deleted.
  • EXPIRED: indicates that the backup file has expired.
  • INCOMPLETE: indicates that the backup file is incomplete.
  • BROKEN: indicates that the backup file is incomplete and cannot be used.
  • DELETED: indicates that the backup file has been deleted.
  • ELAPSED_SECONDES NUMBER NO The time consumed for the backup.
    PLUS_ARCHIVELOG varchar2(4096) NO Indicates whether log synchronization is enabled.
    START_REPLAY_SCN NUMBER(38) NO The playback SCN of the backup set dependency log.
    START_REPLAY_SCN_DISPLAY TIMESTAMP(9) NO The playback timestamp of the backup set dependency log.
    MIN_RESTORE_SCN NUMBER(38) NO The latest restorable SCN of the backup set.
    MIN_RESTORE_SCN_DISPLAY VARCHAR2(4096) NO The minimum restorable timestamp of the backup set.
    INPUT_BYTES NUMBER(38) YES The number of input bytes.
    OUTPUT_BYTES NUMBER(38) YES The number of output bytes.
    OUTPUT_RATE_BYTES NUMBER NO The number of bytes that are output per second.
    EXTRA_META_BYTES NUMBER(38) YES The number of extra bytes.
    TABLET_COUNT NUMBER(38) YES The total number of tablets to back up.
    FINISH_TABLET_COUNT NUMBER(38) YES The total number of tablets backed up.
    MACRO_BLOCK_COUNT NUMBER(38) YES The total number of macroblocks to back up.
    FINISH_MACRO_BLOCK_COUNT NUMBER(38) YES The total number of macroblocks backed up.
    FILE_COUNT NUMBER(38) YES The number of backup files.
    META_TURN_ID NUMBER(38) YES The round of metadata backup.
    DATA_TURN_ID NUMBER(38) YES The round of the data backup.
    RESULT NUMBER(38) NO The returned backup error code.
    COMMENT varchar2(4096) YES The description of the backup error code.
    ENCRYPTION_MODE varchar2(64) YES 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 encryption is implemented and the password is used for protection.
    Currently, only the None and Password modes are supported.
  • PASSWD varchar2(128) YES The password.
    TENANT_COMPATIBLE varchar2(4096) NO The tenant version number.
    BACKUP_COMPATIBLE NUMBER(38) NO The version number of the backup set.
    PATH varchar2(4096) YES The backup path.
    CLUSTER_VERSION varchar(4096) NO The version number of the source cluster.
    CONSISTENT_SCN NUMBER(38) NO The consistency SCN for backup.
    MINOR_TURN_ID NUMBER(38) NO The ID of the round at which the backup of minor compaction data ended.
    MAJOR_TURN_ID NUMBER(38) NO The ID of the round at which the backup of baseline data ended.

    Sample query

    Query the status of the standby cluster whose BACKUP_SET_ID is 1 in the current tenant.

    obclient [SYS]> SELECT * FROM SYS.DBA_OB_BACKUP_SET_FILES WHERE BACKUP_SET_ID = 1\G
    

    The query result is as follows:

    *************************** 1. row ***************************
               BACKUP_SET_ID: 1
                     DEST_ID: 1002
                 INCARNATION: 1
                 BACKUP_TYPE: FULL
     PREV_FULL_BACKUP_SET_ID: 0
      PREV_INC_BACKUP_SET_ID: 0
             START_TIMESTAMP: 2024-05-10 14:02:04
               END_TIMESTAMP: 2024-05-10 14:04:31
                      STATUS: SUCCESS
                 FILE_STATUS: AVAILABLE
            ELAPSED_SECONDES: 147
             PLUS_ARCHIVELOG: OFF
            START_REPLAY_SCN: 1715320601793148000
    START_REPLAY_SCN_DISPLAY: 10-MAY-24 01.56.41.793148000 PM
             MIN_RESTORE_SCN: 1715321071272283000
     MIN_RESTORE_SCN_DISPLAY: 2024-05-1014:04:31.272283000
                 INPUT_BYTES: 198413183
                OUTPUT_BYTES: 20219996
           OUTPUT_RATE_BYTES: 137125.4834937336727309530817741200907923
            EXTRA_META_BYTES: 0
                TABLET_COUNT: 657
         FINISH_TABLET_COUNT: 657
           MACRO_BLOCK_COUNT: 94
    FINISH_MACRO_BLOCK_COUNT: 94
                  FILE_COUNT: 0
                META_TURN_ID: 1
                DATA_TURN_ID: 0
                      RESULT: 0
                     COMMENT: NULL
             ENCRYPTION_MODE: NONE
                      PASSWD: NULL
           TENANT_COMPATIBLE: 4.3.1.0
           BACKUP_COMPATIBLE: 3
                        PATH: file:///home/admin/oceanbase/backupdataoracle
             CLUSTER_VERSION: 4.3.1.0
              CONSISTENT_SCN: 1715320960893795000
               MINOR_TURN_ID: 1
               MAJOR_TURN_ID: 1
    1 row in set
    

    References

    • DBA_OB_BACKUP_JOB_HISTORY

    • DBA_OB_BACKUP_TASK_HISTORY

    • View the data backup history

    Previous topic

    DBA_OB_BACKUP_PARAMETER
    Last

    Next topic

    DBA_OB_BACKUP_STORAGE_INFO
    Next
    What is on this page
    Purpose
    Columns
    Sample query
    References