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.1.0Enterprise Edition

    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.1.0
    iconOceanBase Database
    SQL - V 4.1.0Enterprise Edition
    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_PIECE_FILES

    Last Updated:2025-12-09 07:06:44  Updated
    share
    What is on this page
    Feature
    Fields

    folded

    share

    Feature

    This view displays the status of backup pieces in each backup set.

    Fields

    Field Type Nullable Description
    DEST_ID bigint(20) NO The path ID. The system allocates a unique ID to each specified path.
    ROUND_ID bigint(20) NO The nth complete clog backup data flow.
    PIECE_ID bigint(20) NO The ID of the log backup piece.
    INCARNATION bigint(20) NO The nth incarnation of the database after the Flashback Database operation.
    DEST_NO bigint(20) NO The log archive destination number. For example, the destination number of log_archive_dest is 0, and that of log_archive_dest_1 is 1.
    CREATE_TIMESTAMP bigint(20) NO The time when a piece was created.
    STATUS varchar(64) NO The status of the piece. Valid values:
    ACTIVE: The piece is active.
    FREEZING: The piece is being frozen.
    FROZEN: The piece is frozen. The status of a frozen piece will no longer change.
    BASE_SCN bigint(20) unsigned NO The theoretical start checkpoint of the piece. For the first piece, BASE_SCN is not equal to START_SCN. For other pieces, BASE_SCN is equal to START_SCN.
    START_SCN bigint(20) unsigned NO The actual start checkpoint of the piece.
    START_SCN_DISPLAY varchar(26) NO The value of START_SCN after being converted into the unit of time.
    CHECKPOINT_SCN bigint(20) unsigned NO The current archive checkpoint.
    CHECKPOINT_SCN_DISPLAY varchar(26) NO The value of CHECKPOINT_SCN after being converted into the unit of time.
    MAX_SCN bigint(20) unsigned NO The maximum archive checkpoint.
    END_SCN bigint(20) unsigned NO The theoretical end checkpoint of the piece.
    COMPATIBLE bigint(20) NO The version number compatible with log archiving.
    UNIT_SIZE bigint(20) NO The size of the log block into which archived log data is compressed or encrypted. At present, this field is not supported.
    COMPRESSION varchar(128) NO The compression algorithm. Valid values:
    • none: indicates that the archived log data is not compressed.
    • lz4_1.0: indicates that the lz4_1.0 compression algorithm is used to compress the archived log data.
    • zstd_1.3.8: indicates that the zstd_1.3.8 compression algorithm is used to compress the archived log data.

    At present, this field is not supported.
    INPUT_BYTES bigint(20) NO The raw data amount.
    INPUT_BYTES_DISPLAY varchar(27) NO The value of INPUT_BYTES after unit conversion.
    OUTPUT_BYTES bigint(20) NO The data amount after encryption and compression.
    OUTPUT_BYTES_DISPLAY varchar(27) NO The value of OUTPUT_BYTES after unit conversion.
    COMPRESSION_RATIO decimal(23,2) NO The compression ratio.
    FILE_STATUS varchar(64) NO The file status of the backup piece. Valid values:
    AVAILABLE: indicates a valid backup that can be used for recovery.
    COPYING: indicates that the log file is being backed up.
    INCOMPELTE: The logs in the piece are incomplete, and the logs of some log streams are missing.
    DELETING: indicates that the log file is being deleted.
    EXPIRED: indicates that the backup file has expired.
    BROKEN: indicates that the backup file is incomplete and cannot be used.
    DELETED: indicates that the log file has been deleted.
    PATH varchar(2048) NO The archive path.

    Previous topic

    oceanbase.DBA_OB_BACKUP_TASK_HISTORY
    Last

    Next topic

    oceanbase.DBA_OB_RESTORE_PROGRESS
    Next
    What is on this page
    Feature
    Fields