Purpose
This view displays information about completed restore tasks.
Note
This view is introduced since OceanBase Database V4.0.0.
Purpose
| Column | Type | Nullable? | Description |
|---|---|---|---|
| JOB_ID | bigint(20) | NO | The job ID of the restore task. |
| RESTORE_TENANT_NAME | varchar(128) | NO | The name of the restored tenant. |
| RESTORE_TENANT_ID | bigint(20) | NO | The ID of the restored tenant. |
| BACKUP_TENANT_NAME | varchar(128) | NO | The name of the source tenant for backup. |
| BACKUP_TENANT_ID | bigint(20) | NO | The ID of the source tenant for backup. |
| BACKUP_CLUSTER_NAME | varchar(128) | NO | The name of the source cluster for backup. |
| BACKUP_DEST | longtext | NO | The path where the backup set is stored, which is the path where the user specified to store the data backup and log archive. |
| RESTORE_SCN | bigint(20) unsigned | NO | The SCN specified for restore. |
| RESTORE_SCN_DISPLAY | datetime(6) | NO | The timestamp of the specified restore SCN. |
| RESTORE_OPTION | varchar(4096) | NO | The restore option specified when the restore task was initiated. |
| START_TIMESTAMP | timestamp(6) | YES | The start timestamp of the restore task. |
| FINISH_TIMESTAMP | timestamp(6) | YES | The end timestamp of the restore task. |
| STATUS | varchar(64) | NO | The restore result:
|
| BACKUP_PIECE_LIST | longtext | NO | The list of log archive shards used for restore, separated by commas. For example: file:///data/nfs/backup/archive/2_1_2,file:///data/nfs/backup/archive/2_1_3. |
| BACKUP_SET_LIST | longtext | NO | The list of data backup sets used for restore, separated by commas. For example: file:///data/nfs/backup/data/backup_set_1_full,file:///data/nfs/backup/data/backup_set_2_inc. |
| BACKUP_CLUSTER_VERSION | bigint(20) | NO | The version number of the source cluster for backup. |
| LS_COUNT | bigint(20) | NO | The total number of log streams to be restored. |
| FINISH_LS_COUNT | bigint(20) | NO | The number of completed log streams to be restored. |
| TABLET_COUNT | bigint(20) | NO | The total number of tablets to be restored. |
| FINISH_TABLET_COUNT | bigint(20) | NO | The number of completed tablets to be restored. |
| TOTAL_BYTES | bigint(20) | NO | The total number of bytes to be restored. |
| TOTAL_BYTES_DISPLAY | varchar(27) | NO | The total number of bytes to be restored, in storage capacity units. |
| FINISH_BYTES | bigint(20) | NO | The number of bytes completed to be restored. |
| FINISH_BYTES_DISPLAY | varchar(27) | NO | The number of bytes completed to be restored, in storage capacity units. |
| DESCRIPTION | varchar(1024) | YES | The DESCRIPTION information specified in the restore command. |
| COMMENT | varchar(1024) | YES | The failure information recorded when the restore fails. |
| RESTORE_TYPE | varchar(4096) | NO | The restore type.
|