Note
This view is available starting with V4.0.0.
Purpose
This view displays task-level backup tasks of 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, which corresponds to a backup set. |
| JOB_ID | bigint(20) | NO | The job ID to which the task belongs. |
| 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. |
| 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 metadata bytes. |
| TABLET_COUNT | bigint(20) | YES | The total number of tablets to be backed up. |
| 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 turn of the backup META. |
| DATA_TURN_ID | bigint(20) | YES | The turn of the backup DATA. |
| 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. |
| DATA_PROGRESS | decimal(26,2) | NO | The backup progress of the data. The calculation method is Number of completed macroblocks / Total number of macroblocks, and the result is rounded to two decimal places. For example, 87.65 indicates that the backup progress is 87.65%. |
| LOG_FILE_COUNT | bigint(20) | NO | The total number of archived clog files. |
| FINISH_LOG_FILE_COUNT | bigint(20) | NO | The number of archived clog files that have been backed up. |
| LOG_PROGRESS | decimal(26,2) | NO | The backup progress of the archived clog files. The calculation method is Number of archived clog files that have been backed up / Total number of archived clog files, and the result is rounded to two decimal places. For example, 87.65 indicates that the backup progress is 87.65%. |
References
To view all backup jobs of all tenants, see CDB_OB_BACKUP_JOBS.
To view the history of backup jobs of all tenants, see CDB_OB_BACKUP_JOB_HISTORY.
To view the history of backup tasks of all tenants, see CDB_OB_BACKUP_TASK_HISTORY.
For more information about how to view the data backup progress, see View the data backup progress.
