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

    DBA_OB_BACKUP_VALIDATE_TASKS

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

    Purpose

    The DBA_OB_BACKUP_VALIDATE_TASKS view displays information about task-level backup validation tasks initiated by the current tenant. Each task corresponds to a backup set or archive log piece validation task.

    Columns

    Column
    Type
    Nullable
    Description
    TASK_ID NUMBER(38) NO The task ID.
    INCARNATION NUMBER(38) NO The incarnation ID.
    JOB_ID NUMBER(38) NO The job ID.
    TASK_TYPE VARCHAR2(64) NO The type of the validation task. Valid values:
    • BACKUPSET: validates the specified backup set.
    • ARCHIVELOG_PIECE: validates the specified archive log piece.
    ID NUMBER(38) YES The backup_set_id of the validated backup set or the piece_id of the validated archive log piece.
    PATH CLOB YES The backup path or archive log path.
    PATH_TYPE VARCHAR2(64) YES The type of the validated path. Valid values:
    • BACKUP_SET_DEST: the data backup path.
    • ARCHIVELOG_PIECE_DEST: the archive log path.
    DEST_ID NUMBER(38) YES The ID of the validated backup path or archive log path.
    PLUS_ARCHIVELOG VARCHAR2(64) NO Indicates whether to include compensating logs.
    INITIATOR_TASK_ID NUMBER(38) NO The parent task ID of the compensating log validation task. If the value is 0, the compensating log validation task does not exist.
    VALIDATE_LEVEL VARCHAR2(64) NO The validation level. Valid values:
    • basic: checks only the integrity of the file list.
    • physical: checks the correctness and logical consistency of the physical data.
    ROUND_ID NUMBER(38) NO The Round ID of the validated archive log piece. If the value is 0, the archive log piece is not validated.
    START_TIMESTAMP VARCHAR2(256) NO The start time of the validation task.
    END_TIMESTAMP VARCHAR2(256) NO The end time of the validation task.
    STATUS VARCHAR2(64) NO The status of the task. Valid values:
    • INIT: the validation task is being initialized.
    • DOING: the validation task is being executed.
    • COMPLETED: the validation task has been completed.
    • FAILED: the validation task has failed.
    • CANCELED: the validation task has been canceled.
    TOTAL_LS_COUNT NUMBER(38) YES The number of log streams in the task.
    FINISH_LS_COUNT NUMBER(38) YES The number of log streams that have been validated.
    TOTAL_BYTES NUMBER(38) YES The estimated size of the data to be validated, in bytes.
    VALIDATED_BYTES NUMBER(38) YES The size of the data that has been validated, in bytes.
    RESULT NUMBER(38) NO The error code of the validation result.
    COMMENT VARCHAR2(4096) YES The description of the reason for the failure of the validation task.

    Sample query

    Query the information about task-level backup validation tasks initiated by the current tenant.

    obclient(sys@oracle001)[SYS]> SELECT * FROM SYS.DBA_OB_BACKUP_VALIDATE_TASKS\G
    

    The query result is as follows:

    *************************** 1. row ***************************
            TENANT_ID: 1004
              TASK_ID: 5
          INCARNATION: 1
               JOB_ID: 4
            TASK_TYPE: BACKUPSET
                   ID: 1
                 PATH: file:///data/nfs/backup/data/backup_set_1_full
            PATH_TYPE: BACKUP_SET_DEST
              DEST_ID: 1002
      PLUS_ARCHIVELOG: OFF
    INITIATOR_TASK_ID: 0
       VALIDATE_LEVEL: basic
             ROUND_ID: 0
      START_TIMESTAMP: 2026-03-04 14:21:40
        END_TIMESTAMP: 2026-03-04 14:21:42
               STATUS: COMPLETED
       TOTAL_LS_COUNT: 2
      FINISH_LS_COUNT: 2
          TOTAL_BYTES: 20887564
      VALIDATED_BYTES: 0
               RESULT: 0
              COMMENT: NULL
    *************************** 2. row ***************************
            TENANT_ID: 1004
              TASK_ID: 6
          INCARNATION: 1
               JOB_ID: 4
            TASK_TYPE: BACKUPSET
                   ID: 2
                 PATH: file:///data/nfs/backup/data/backup_set_2_full
            PATH_TYPE: BACKUP_SET_DEST
              DEST_ID: 1002
      PLUS_ARCHIVELOG: ON
    INITIATOR_TASK_ID: 0
       VALIDATE_LEVEL: basic
             ROUND_ID: 0
      START_TIMESTAMP: 2026-03-04 14:21:40
        END_TIMESTAMP: 2026-03-04 14:21:44
               STATUS: COMPLETED
       TOTAL_LS_COUNT: 2
      FINISH_LS_COUNT: 2
          TOTAL_BYTES: 18950160
      VALIDATED_BYTES: 0
               RESULT: 0
              COMMENT: NULL
    *************************** 3. row ***************************
            TENANT_ID: 1004
              TASK_ID: 7
          INCARNATION: 1
               JOB_ID: 4
            TASK_TYPE: ARCHIVELOG_PIECE
                   ID: 1
                 PATH: file:///data/nfs/backup/data/backup_set_2_full/complement_log/piece_d1002r1p1
            PATH_TYPE: ARCHIVELOG_PIECE_DEST
              DEST_ID: 1002
      PLUS_ARCHIVELOG: ON
    INITIATOR_TASK_ID: 6
       VALIDATE_LEVEL: basic
             ROUND_ID: 1
      START_TIMESTAMP: 2026-03-04 14:21:40
        END_TIMESTAMP: 2026-03-04 14:21:44
               STATUS: COMPLETED
       TOTAL_LS_COUNT: 0
      FINISH_LS_COUNT: 0
          TOTAL_BYTES: 0
      VALIDATED_BYTES: 0
               RESULT: 0
              COMMENT: NULL
    3 rows in set
    

    References

    • View the execution history of task-level backup validation tasks initiated by the current tenant: DBA_OB_BACKUP_VALIDATE_TASK_HISTORY

    • View the information about job-level backup validation tasks initiated by the current tenant:

      • DBA_OB_BACKUP_VALIDATE_JOBS

      • DBA_OB_BACKUP_VALIDATE_JOB_HISTORY

    • View the information about job-level backup validation tasks initiated by all tenants:

      • CDB_OB_BACKUP_VALIDATE_JOBS

      • CDB_OB_BACKUP_VALIDATE_JOB_HISTORY

    • View the information about task-level backup validation tasks initiated by all tenants:

      • CDB_OB_BACKUP_VALIDATE_TASKS

      • CDB_OB_BACKUP_VALIDATE_TASK_HISTORY

    • View the backup validation progress

    Previous topic

    DBA_OB_BACKUP_VALIDATE_JOB_HISTORY
    Last

    Next topic

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