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 the Meta tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TASK_ID | bigint(20) | NO | The task ID of 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 of 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 None and Password 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 in the backup. |
| 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 number of the backup META. |
| DATA_TURN_ID | bigint(20) | YES | The turn number 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 number at which the minor data backup ended. |
| MAJOR_TURN_ID | bigint(20) | NO | The turn number at which the major data backup ended. |
| DATA_PROGRESS | decimal(26,2) | NO | The backup progress of the data. The progress is calculated as Number of macroblocks completed / 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 progress is calculated as Number of archived clog files completed / 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
View all backup jobs for all tenants: CDB_OB_BACKUP_JOBS
View the history of backup jobs for all tenants: CDB_OB_BACKUP_JOB_HISTORY
View the history of backup tasks for all tenants: CDB_OB_BACKUP_TASK_HISTORY
For more information about how to view the data backup progress, see View the data backup progress.