Purpose
This view displays information about ongoing restore tasks.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| JOB_ID | bigint(20) | NO | The job ID of the restore task. |
| RESTORE_TENANT_NAME | longtext | NO | The name of the tenant to be restored. |
| RESTORE_TENANT_ID | longtext | NO | The ID of the tenant to be restored. |
| BACKUP_TENANT_NAME | longtext | NO | The name of the source tenant from which the backup was taken. |
| BACKUP_TENANT_ID | longtext | NO | The ID of the source tenant from which the backup was taken. |
| BACKUP_CLUSTER_NAME | longtext | NO | The name of the source cluster from which the backup was taken. |
| BACKUP_DEST | longtext | NO | The path of the backup set, which is the path where the user specified to store data backup files and log archive files. |
| RESTORE_OPTION | longtext | NO | The restore option specified when the restore task was initiated. |
| RESTORE_SCN | bigint(20) unsigned | NO | The SCN specified for restore. |
| RESTORE_SCN_DISPLAY | datetime(6) | NO | The timestamp of the specified restore SCN. |
| STATUS | longtext | NO | The restore status. The restore status of a restore task for a system tenant is different from that of a restore task for a tenant to be restored. For a system tenant:
For a tenant to be restored:
|
| START_TIMESTAMP | datetime(6) | NO | The timestamp when the restore task started. |
| BACKUP_SET_LIST | longtext | NO | The list of paths where the data backup sets required for restore are stored. The paths are separated by commas. For 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 list of paths where the log archive fragments required for restore are stored. The fragments are separated by commas. For example: file:///data/nfs/backup/data/backup_set_1_full,file:///data/nfs/backup/data/backup_set_2_inc |
| 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, displayed in storage capacity units. |
| FINISH_BYTES | bigint(20) | NO | The number of bytes restored. |
| FINISH_BYTES_DISPLAY | varchar(27) | NO | The number of bytes restored, displayed in storage capacity units. |
| DESCRIPTION | longtext | NO | The DESCRIPTION information specified in the restore command. |
| RESTORE_TYPE | varchar(4096) | NO | The restore type.
|
| RECOVER_SCN | BIGINT(20) unsigned | YES | The log recover SCN. |
| RECOVER_SCN_DISPLAY | DATETIME(6) | YES | The timestamp of the log recover SCN. |
| RECOVER_PROGRESS | DECIMAL(6, 2) | YES | The log recover progress, retained to two decimal places. For example, 87.65 indicates that the progress is 87.65%. |
| TABLET_COUNT | BIGINT(20) | YES | The total number of tablets to be restored. |
| FINISH_TABLET_COUNT | BIGINT(20) | YES | The total number of restored tablets. |
| RESTORE_PROGRESS | DECIMAL(6, 2) | YES | The data restore progress, retained to two decimal places. For example, 87.65 indicates that the progress is 87.65%. |