Purpose
The oceanbase.CDB_OB_ARCHIVELOG_SUMMARY view displays the status of all historical and current log archiving tasks.
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 path ID. The system allocates a unique ID to each specified path. |
| ROUND_ID | bigint(20) | NO | The nth complete clog backup data flow. |
| 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. |
| STATUS | varchar(64) | NO | The archiving status. Valid values:
|
| 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:
|
| INPUT_BYTES | bigint(20) | NO | The size of the read data. At present, OceanBase Database does not support this column. |
| INPUT_BYTES_DISPLAY | varchar(27) | NO | The size of the read data with the unit of measurement, for example, 798.01 M or 5.25 G. At present, OceanBase Database does not support this column. |
| OUTPUT_BYTES | bigint(20) | NO | The size of the output data. At present, OceanBase Database does not support this column. |
| OUTPUT_BYTES_DISPLAY | varchar(27) | NO | The size of the output data with the unit of measurement, for example, 798.01 M or 5.25 G. At present, OceanBase Database does not support this column. |
| COMPRESSION_RATIO | decimal(23,2) | NO | The compression ratio. At present, OceanBase Database does not support this column. |
| DELETED_INPUT_BYTES | bigint(20) | NO | The volume of raw data deleted. |
| DELETED_INPUT_BYTES_DISPLAY | varchar(27) | NO | The unit of DELETED_INPUT_BYTES after conversion, which can be MB, GB, TB, or PB. |
| DELETED_OUTPUT_BYTES | bigint(20) | NO | The volume of valid data deleted. |
| DELETED_OUTPUT_BYTES_DISPLAY | varchar(27) | NO | The unit of DELETED_OUTPUT_BYTES after conversion, which can be MB, GB, TB, or PB. |
| PATH | varchar(2048) | NO | The error prompt. |
| COMMENT | varchar(262144) | NO | The archive path. |