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

    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.4.2
    iconOceanBase Database
    SQL - V 4.4.2
    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_ARCHIVELOG

    Last Updated:2026-04-14 03:51:52  Updated
    share
    What is on this page
    Purpose
    Columns
    References

    folded

    share

    Note

    This view is available starting with V4.0.0.

    Purpose

    This view displays the log archiving status for each path of the current tenant. Physical backup is not supported for the sys tenant and Meta tenant.

    Columns

    Column Type Nullable Description
    DEST_ID bigint(20) NO The identifier of the path.
    ROUND_ID bigint(20) NO The identifier of the backup round.
    INCARNATION bigint(20) NO The number of incarnations after Flashback Database.
    DEST_NO bigint(20) NO The identifier of log_archive_dest_n.
    STATUS varchar(64) NO The archiving status. Valid values:
    • PREPARE: The archiving process is preparing to start at the START_SCN point.
    • BEGINNING: The log archiving process is starting.
    • DOING: The log archiving process is ongoing.
    • INTERRUPTED: The log archiving process is interrupted and requires manual intervention.
    • STOP: The log archiving process has been stopped.
    • STOPPING: The log archiving process is being stopped.
    • SUSPENDING: The log archiving process is being suspended.
    • SUSPEND: The log archiving process has been suspended.
    START_SCN bigint(20) unsigned NO The starting backup point.
    START_SCN_DISPLAY datetime(6) NO The converted value of START_SCN in the time unit.
    CHECKPOINT_SCN bigint(20) unsigned NO The current archiving point.
    CHECKPOINT_SCN_DISPLAY datetime(6) NO The converted value of CHECKPOINT_SCN in the time unit.
    COMPATIBLE bigint(20) NO The compatibility version.
    BASE_PIECE_ID bigint(20) NO The ID of the first PIECE in the current backup round.
    USED_PIECE_ID bigint(20) NO The ID of the last PIECE used in the current backup round.
    PIECE_SWITCH_INTERVAL bigint(20) NO The interval for switching PIECES.
    UNIT_SIZE bigint(20) NO The size of a single log block that is compressed or encrypted in the log archiving process. This field is not supported.
    COMPRESSION varchar(128) NO The compression algorithm. Valid values:
    • none: No compression is performed.
    • lz4_1.0: The lz4_1.0 compression algorithm is used.
    • zstd_1.3.8: The zstd_1.3.8 compression algorithm is used.
    This field is not supported.
    INPUT_BYTES bigint(21) NO The size of the data read, in bytes.
    INPUT_BYTES_DISPLAY varchar(28) NO The converted value of INPUT_BYTES in the MB, GB, TB, or PB unit.
    OUTPUT_BYTES bigint(21) NO The size of the data output, in bytes.
    OUTPUT_BYTES_DISPLAY varchar(28) NO The converted value of OUTPUT_BYTES in the MB, GB, TB, or PB unit.
    COMPRESSION_RATIO decimal(24,2) NO The compression ratio. This field is not supported.
    DELETED_INPUT_BYTES bigint(20) NO The size of the original data deleted, in bytes.
    DELETED_INPUT_BYTES_DISPLAY varchar(27) NO The converted value of DELETED_INPUT_BYTES in the MB, GB, TB, or PB unit.
    DELETED_OUTPUT_BYTES bigint(20) NO The size of the effective data deleted, in bytes.
    DELETED_OUTPUT_BYTES_DISPLAY varchar(27) NO The converted value of DELETED_OUTPUT_BYTES in the MB, GB, TB, or PB unit.
    COMMENT varchar(262144) NO The error message.
    PATH varchar(2048) NO The archiving path.

    References

    For more information about log archiving, see Log archiving.

    Previous topic

    oceanbase.DBA_OB_ARCHIVE_DEST
    Last

    Next topic

    oceanbase.DBA_OB_ARCHIVELOG_PIECE_FILES
    Next
    What is on this page
    Purpose
    Columns
    References