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 is taken. |
| BACKUP_TENANT_ID | longtext | NO | The ID of the source tenant from which the backup is taken. |
| BACKUP_CLUSTER_NAME | longtext | NO | The name of the source cluster from which the backup is taken. |
| BACKUP_DEST | longtext | NO | The path of the backup set, which is the path where the user specifies the data backup and log archiving paths. |
| RESTORE_OPTION | longtext | NO | The restore option specified when the restore task is 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 system tenant is different from that of a restored tenant. System tenant:
Restored tenant:
|
| START_TIMESTAMP | datetime(6) | NO | The timestamp when the restore task starts. |
| BACKUP_SET_LIST | longtext | NO | The path list of the data backup sets required 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_PIECE_LIST | longtext | NO | The path list of the log archive shards required 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. |
| 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 restored. |
| FINISH_BYTES_DISPLAY | varchar(27) | NO | The number of bytes restored, 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 | NO | The log recovery SCN. |
| RECOVER_SCN_DISPLAY | DATETIME(6) | NO | The timestamp of the log recovery SCN. |
| RECOVER_PROGRESS | DECIMAL(6, 2) | NO | The log recovery progress, retained to two decimal places. For example, 87.65 indicates that the current progress is 87.65%. |
| TABLET_COUNT | BIGINT(20) | NO | The total number of tablets to be restored. |
| FINISH_TABLET_COUNT | BIGINT(20) | NO | The total number of restored tablets. |
| RESTORE_PROGRESS | DECIMAL(6, 2) | NO | The data restore progress, retained to two decimal places. For example, 87.65 indicates that the current progress is 87.65%. |