Note
This view is available starting with V4.0.0.
Purpose
This view displays the history of task-level backup tasks for the current tenant. OceanBase Database does not support physical backup for the sys tenant and Meta tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TASK_ID | bigint(20) | NO | The task ID of the backup task, which corresponds to the backup set. |
| JOB_ID | bigint(20) | NO | The job ID of the task. |
| INCARNATION | bigint(20) | NO | The number of incarnations after flashback database. |
| BACKUP_SET_ID | bigint(20) | NO | The backup set ID corresponding to the task. |
| START_TIMESTAMP | timestamp(6) | NO | The start time of the task. |
| END_TIMESTAMP | timestamp(6) | NO | The end time of the task. |
| STATUS | varchar(4096) | NO | The status of the backup. |
| START_SCN | bigint(20) unsigned | NO | The SCN at which the backup started. |
| END_SCN | bigint(20) unsigned | NO | The SCN at which the backup ended. |
| USER_LS_START_SCN | bigint(20) unsigned | NO | The SCN of the backup log stream meta data. |
| ENCRYPTION_MODE | varchar(4096) | YES | The encryption mode. Valid values:
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 output bytes 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 that have been backed up. |
| MACRO_BLOCK_COUNT | bigint(20) | YES | The number of macroblocks. |
| FINISH_MACRO_BLOCK_COUNT | bigint(20) | YES | The number of macroblocks that have been backed up. |
| FILE_COUNT | bigint(20) | YES | The number of backup files. |
| META_TURN_ID | bigint(20) | YES | The backup meta data turn. |
| DATA_TURN_ID | bigint(20) | YES | The backup data turn. |
| RESULT | bigint(20) | YES | The backup error code. |
| COMMENT | varchar(4096) | YES | The description of the error code. |
| PATH | varchar(4096) | YES | The backup path. |
| MINOR_TURN_ID | bigint(20) | NO | The turn at which minor data backup ended. |
| MAJOR_TURN_ID | bigint(20) | NO | The turn at which major data backup ended. |
References
View the history of backup job tasks: CDB_OB_BACKUP_JOB_HISTORY
View the backup job tasks of all tenants: CDB_OB_BACKUP_JOBS
View the execution progress of backup tasks: CDB_OB_BACKUP_TASKS
For more information about how to view the details of a backup result, see View data backup results.