oceanbase.CDB_OB_ARCHIVELOG

2023-12-25 08:49:41  Updated

Purpose

The oceanbase.CDB_OB_ARCHIVELOG view displays the log archiving status for each path.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
TENANT_ID bigint(20) NO The ID of the tenant.
DEST_ID bigint(20) NO The ID of the path.
ROUND_ID bigint(20) NO The ID of the backup round.
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.
STATUS varchar(64) NO The backup status. Valid values:
  • BEGINNING: Log archiving is being started.
  • DOING: Log archiving is in progress.
  • INTERRUPTED: Log archiving is interrupted. Manual intervention is required.
  • STOP: Log archiving is stopped.
  • STOPPING: Log archiving is being stopped.
  • SUSPENDING: Log archiving is being suspended.
  • SUSPEND: Log archiving is suspended.
START_SCN bigint(20) unsigned NO The SCN at which the backup starts.
START_SCN_DISPLAY datetime(6) 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 datetime(6) NO The value of CHECKPOINT_SCN after being converted into the unit of time.
COMPATIBLE bigint(20) NO The compatibility version.
BASE_PIECE_ID bigint(20) NO The ID of the first piece of the round.
USED_PIECE_ID bigint(20) NO The ID of the piece used by the round.
PIECE_SWITCH_INTERVAL bigint(20) NO The switching interval of pieces.
UNIT_SIZE bigint(20) NO The size of the log block into which archived log data is compressed or encrypted. At present, this column 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 column is not supported.
INPUT_BYTES BIGINT(21) NO The volume of data read.
At present, this column is not supported.
INPUT_BYTES_DISPLAY varchar(28) NO The value of INPUT_BYTES after unit conversion. The unit can be MB, GB, TB, or PB.
At present, this column is not supported.
OUTPUT_BYTES BIGINT(21) NO The volume of data output.
At present, this column is not supported.
OUTPUT_BYTES_DISPLAY varchar(28) NO The value of OUTPUT_BYTES after unit conversion. The unit can be MB, GB, TB, or PB.
At present, this column is not supported.
COMPRESSION_RATIO decimal(24,2) NO The compression ratio.
At present, this column is not supported.
DELETED_INPUT_BYTES bigint(20) NO The volume of raw data deleted.
DELETED_INPUT_BYTES_DISPLAY varchar(27) NO The volume of raw data deleted.
DELETED_OUTPUT_BYTES bigint(20) NO The volume of valid data deleted.
DELETED_OUTPUT_BYTES_DISPLAY varchar(27) NO The volume of valid data deleted.
COMMENT varchar(262144) NO The error prompt.
PATH varchar(2048) NO The archive path.

Contact Us