Purpose
The oceanbase.CDB_OB_RESTORE_PROGRESS view displays the current execution progress of physical restore jobs.
Note
This view is introduced since OceanBase Database V2.2.77.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant that performed the restore job. |
| JOB_ID | bigint(20) | NO | The ID of the restore job. |
| RESTORE_TENANT_NAME | longtext | NO | The name of the tenant to be restored. |
| RESTORE_TENANT_ID | bigint(20) | NO | The ID of the tenant to be restored. |
| BACKUP_TENANT_NAME | longtext | NO | The name of the backup source tenant. |
| BACKUP_TENANT_ID | longtext | NO | The ID of the backup source tenant. |
| BACKUP_CLUSTER_NAME | longtext | NO | The name of the backup source cluster. |
| BACKUP_DEST | longtext | NO | The backup set paths. The value contains the data backup path and log archive path. |
| RESTORE_OPTION | longtext | NO | The restore option specified when restore is initiated. |
| RESTORE_SCN | bigint(20) unsigned | NO | The restore system change number (SCN). |
| RESTORE_SCN_DISPLAY | varchar(26) | NO | The restore SCN displayed as a timestamp. |
| STATUS | longtext | NO | The restore status. The possible states of a restore job in the sys tenant are inconsistent with those in the restored tenant. For the sys tenant:
For the target tenant:
|
| START_TIMESTAMP | varchar(26) | NO | The start timestamp of the restore job. |
| BACKUP_SET_LIST | longtext | NO | The backup set paths for restore, which are separated with commas (,). Here is an example: file:///data/nfs/backup/data/backup_set_1_full,file:///data/nfs/backup/data/backup_set_2_inc. |
| BACKUP_PIECE_LIST | longtext | NO | The paths of log archive pieces for restore, which are separated with commas (,). Here is an example: file:///data/nfs/backup/archive/2_1_2,file:///data/nfs/backup/archive/2_1_3. |
| TOTAL_BYTES | bigint(20) | NO | The total number of bytes to restore. |
| TOTAL_BYTES_DISPLAY | varchar(27) | NO | The total number of bytes to restore, in a storage capacity unit. |
| FINISH_BYTES | bigint(20) | NO | The number of bytes restored. |
| FINISH_BYTES_DISPLAY | varchar(27) | NO | The total number of bytes restored, in a storage capacity unit. |
| DESCRIPTION | longtext | NO | The description specified in the restore statement. |