DBA_OB_ARCHIVELOG_PIECE_FILES

2024-04-19 08:42:49  Updated

Purpose

The DBA_OB_ARCHIVELOG_PIECE_FILES view displays the status of backup pieces in each backup set.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
DEST_ID NUMBER(38) NO The path ID. The system allocates a unique ID to each specified path.
ROUND_ID NUMBER(38) NO The Nth complete clog backup data flow.
PIECE_ID NUMBER(38) NO The ID of the log backup piece.
INCARNATION NUMBER(38) NO The Nth incarnation of the database after the Flashback Database operation.
DEST_NO NUMBER(38) 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.
STATUS VARCHAR2(64) NO The status of the piece when the log is split. Valid values:
  • ACTIVE: The backup piece is active.
  • FREEZING: The backup piece is being frozen.
  • FROZEN: The backup piece is frozen. The status of a frozen piece no long changes.
  • START_SCN NUMBER(38) NO The start checkpoint of the piece.
    START_SCN_DISPLAY TIMESTAMP(9) NO The value of START_SCN after being converted into the unit of time.
    CHECKPOINT_SCN NUMBER(38) NO The current archive checkpoint.
    CHECKPOINT_SCN_DISPLAY TIMESTAMP(9) NO The value of CHECKPOINT_SCN after being converted into the unit of time.
    MAX_SCN NUMBER(38) NO The maximum archive checkpoint.
    END_SCN NUMBER(38) NO The theoretical end checkpoint of the piece.
    COMPATIBLE NUMBER(38) NO The version number compatible with log archiving.
    UNIT_SIZE NUMBER(38) NO The size of the log block into which archived log data is compressed or encrypted. At present, this column is not supported.
    COMPRESSION VARCHAR2(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 column is not supported.
    INPUT_BYTES NUMBER(38) NO The volume of raw data.
    INPUT_BYTES_DISPLAY VARCHAR2(42) NO The value of INPUT_BYTES after unit conversion.
    OUTPUT_BYTES NUMBER(38) NO The data volume after encryption and compression.
    OUTPUT_BYTES_DISPLAY VARCHAR2(42) NO The value of OUTPUT_BYTES after unit conversion.
    COMPRESSION_RATIO NUMBER NO The compression ratio.
    FILE_STATUS VARCHAR2(64) NO The file status of the backup piece. Valid values:
  • AVAILABLE: indicates a valid backup that can be used for restore.
  • COPYING: indicates that the log file is being backed up.
  • INCOMPLETE: indicates that only a portion of the log file has been copied. This status is applicable only in regular secondary backup of log backups. The value of checkpoint_ts for the copy is earlier than that for the original backup, and the copy can be used for restoring the file to a point in time before the value of checkpoint_ts of the copy.
  • 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 VARCHAR2(2048) NO The archive path.

    Contact Us