Purpose
The DBA_OB_RESTORE_HISTORY view displays the restore jobs that have been completed.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| JOB_ID | NUMBER(38) | NO | The ID of the restore job. |
| RESTORE_TENANT_NAME | VARCHAR2(128) | NO | The name of the tenant to be restored. |
| RESTORE_TENANT_ID | NUMBER(38) | NO | The ID of the tenant to be restored. |
| BACKUP_TENANT_NAME | VARCHAR2(128) | NO | The name of the backup source tenant. |
| BACKUP_TENANT_ID | NUMBER(38) | NO | The ID of the backup source tenant. |
| BACKUP_CLUSTER_NAME | VARCHAR2(128) | NO | The name of the backup source cluster. |
| BACKUP_DEST | CLOB | NO | The backup set paths. The value contains the data backup path and log archive path. |
| RESTORE_SCN | NUMBER(38) | NO | The restore system change number (SCN). |
| RESTORE_SCN_DISPLAY | TIMESTAMP(9) | NO | The restore SCN displayed as a timestamp. |
| RESTORE_OPTION | VARCHAR2(4096) | NO | The restore option specified when restore is initiated. |
| START_TIMESTAMP | TIMESTAMP(6) WITH LOCAL TIME ZONE | YES | The start timestamp of the restore job. |
| FINISH_TIMESTAMP | TIMESTAMP(6) WITH LOCAL TIME ZONE | YES | The end timestamp of the restore job. |
| STATUS | VARCHAR2(64) | NO | The restore result. Valid values:
|
| BACKUP_PIECE_LIST | CLOB | 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. |
| BACKUP_SET_LIST | CLOB | 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_CLUSTER_VERSION | NUMBER(38) | NO | The version number of the backup source cluster. |
| LS_COUNT | NUMBER(38) | NO | The total number of log streams to recover. |
| FINISH_LS_COUNT | NUMBER(38) | NO | The number of log streams recovered. |
| TABLET_COUNT | NUMBER(38) | NO | The total number of shards to recover. |
| FINISH_TABLET_COUNT | NUMBER(38) | NO | The number of shards recovered. |
| TOTAL_BYTES | NUMBER(38) | NO | The total number of bytes to restore. |
| TOTAL_BYTES_DISPLAY | VARCHAR2(42) | NO | The total number of bytes to recover, in a storage capacity unit. |
| FINISH_BYTES | NUMBER(38) | NO | The number of bytes restored. |
| FINISH_BYTES_DISPLAY | VARCHAR2(42) | NO | The total number of bytes to recover, in a storage capacity unit. |
| DESCRIPTION | VARCHAR2(1024) | NO | The description specified in the restore statement. |
| COMMENT | VARCHAR2(1024) | YES | The information about a failed restore job. |