Purpose
The oceanbase.DBA_OB_BACKUP_TASK_HISTORY view displays the history of backup tasks in the current tenant.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TASK_ID | bigint(20) | NO | The ID of a backup task, which corresponds to a backup set task. |
| JOB_ID | bigint(20) | NO | The job ID of the backup task. |
| INCARNATION | bigint(20) | NO | The Nth incarnation of the database after the Flashback Database operation. |
| BACKUP_SET_ID | bigint(20) | NO | The ID of the backup set that corresponds to the backup task. |
| START_TIMESTAMP | timestamp(6) | NO | The start time of the backup task. |
| END_TIMESTAMP | timestamp(6) | NO | The end time of the backup task. |
| STATUS | varchar(4096) | NO | The backup status. |
| START_SCN | bigint(20) unsigned | NO | The SCN at which the backup starts. |
| END_SCN | bigint(20) unsigned | NO | The SCN at which the backup ends. |
| USER_LS_START_SCN | bigint(20) unsigned | NO | The SCN of the metadata of the backup log stream. |
| ENCRYPTION_MODE | varchar(4096) | YES | The encryption mode. Valid values: None: indicates that encryption is not implemented.Password: indicates that only the password is used for protection.Password Encryption: indicates that encryption is implemented and the password is used for protection.Transparent Encryption: indicates that TDE is used for encryption.Dual Mode Encryption: indicates that TDE encryption is implemented and the password is used for protection.Currently, only the None and Password modes are supported. |
| PASSWD | varchar(4096) | YES | The password. |
| INPUT_BYTES | bigint(20) | YES | The number of input bytes. |
| OUTPUT_BYTES | bigint(20) | YES | The number of output bytes. |
| OUTPUT_RATE_BYTES | decimal(28,4) | NO | The number of bytes that are output per second. |
| EXTRA_META_BYTES | bigint(20) | YES | The number of extra bytes. |
| TABLET_COUNT | bigint(20) | YES | The total number of tablets. |
| FINISH_TABLET_COUNT | bigint(20) | YES | The total number of tablets backed up. |
| MACRO_BLOCK_COUNT | bigint(20) | YES | The number of macroblocks. |
| FINISH_MACRO_BLOCK_COUNT | bigint(20) | YES | The number of macroblocks backed up. |
| FILE_COUNT | bigint(20) | YES | The number of backup files. |
| META_TURN_ID | bigint(20) | YES | The round of metadata backup. |
| DATA_TURN_ID | bigint(20) | YES | The round of the backup data. |
| RESULT | bigint(20) | YES | The returned backup error code. |
| COMMENT | varchar(4096) | YES | The description of the error code. |
| PATH | varchar(4096) | YES | The backup path. |