Note
This view is available starting with V4.0.0.
Purpose
This view displays the execution progress of backup cleanup jobs in the current tenant.
Columns
| Column | Type | Nullable | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Column | Type | Nullable | Description | --- | --- | --- | --- | JOB_ID | NUMBER(38) | NO | The ID of a task. The value is unique and is incrementally generated. | ||
| Column | Type | Nullable | Description | --- | --- | --- | --- | INCARNATION | NUMBER(38) | NO | Identifier of a reincarnation. | ||
| INITIATOR_TENANT_ID | NUMBER(38) | NO | The ID of the tenant that initiated this job. | ||||||||||
| INITIATOR_JOB_ID | NUMBER(38) | NO | The tenant for which this job was initiated. | ||||||||||
| JOB_ID | |||||||||||||
| COLUMN | TYPE | NULLABLE | DESCRIPTION | --- | --- | --- | --- | EXECUTOR_TENANT_ID | VARCHAR2(65536) | NO | The list of tenants that executed the cleanup task. | ||
| TYPE | VARCHAR2(64) | NO | Type. Valid values: expired, specified backup_set/round/piece, and cancel | ||||||||||
| PARAMETER | VARCHAR2(1024) | NO | This parameter specifies the following information for deletion:
|
||||||||||
| JOB_LEVEL | VARCHAR2(64) | NO | The task initiation level, which can be USER_TENANT, CLUSTER, or SYS_TENANT. | ||||||||||
| START_TIMESTAMP | VARCHAR2(256) | NO | The tenant time when the task starts. | ||||||||||
| END_TIMESTAMP | VARCHAR2(256) | NO | The time when the task is completed in the current tenant. | ||||||||||
| STATUS | VARCHAR2(64) | NO | Task status: |
||||||||||
| TASK_COUNT | NUMBER(38) | YES | backup_set/piece task count | ||||||||||
| SUCCESS_TASK_COUNT | NUMBER(38) | YES | The number of successful tasks for backup_set/piece. | ||||||||||
| RESULT | NUMBER(38) | NO | Error code | ||||||||||
| COMMENT | VARCHAR2(4096) | YES | Task execution instructions |
Sample query
A user tenant can query the progress of backup cleanup tasks in its own tenant.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_BACKUP_DELETE_JOBS\G
The query result is as follows:
*************************** 1. row ***************************
JOB_ID: 7
INCARNATION: 1
INITIATOR_TENANT_ID: 1002
INITIATOR_JOB_ID: 7
EXECUTOR_TENANT_ID: 1002
TYPE: DELETE OBSOLETE BACKUP
PARAMETER: 2022-05-31 12:09:40.060284
JOB_LEVEL: USER_TENANT
START_TIMESTAMP: 2022-06-01 12:09:53.389512
END_TIMESTAMP:
STATUS: DOING
TASK_COUNT: 2
SUCCESS_TASK_COUNT: 1
RESULT: 0
COMMENT:
1 row in set