NOTES
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 |
|---|---|---|---|
| JOB_ID | NUMBER(38) | NO | The task ID, which increments monotonically. |
| INCARNATION | NUMBER(38) | NO | Incarnation ID. |
| INITIATOR_TENANT_ID | NUMBER(38) | NO | The tenant ID that initiated this job. |
| INITIATOR_JOB_ID | NUMBER(38) | NO | The job ID of the tenant that initiated this job. |
| EXECUTOR_TENANT_ID | VARCHAR2(65536) | NO | The list of tenants that execute cleanup tasks. |
| TYPE | VARCHAR2(64) | NO | The cleanup type. Valid values:
|
| PARAMETER | VARCHAR2(1024) | NO | Parameters for different cleanup types. |
| JOB_LEVEL | VARCHAR2(64) | NO | The task initiation level. Valid values:
|
| START_TIMESTAMP | VARCHAR2(256) | NO | The current tenant time when the task starts. |
| END_TIMESTAMP | VARCHAR2(256) | NO | The current tenant time when the task ends. |
| STATUS | VARCHAR2(64) | NO | The task status. Valid values: INIT, DOING, CANCELING, COMPLETED, FAILED, and CANCELED.
|
| TASK_COUNT | NUMBER(38) | YES | The number of backup set/piece tasks. |
| SUCCESS_TASK_COUNT | NUMBER(38) | YES | The number of successfully completed backup set/piece tasks. |
| RESULT | NUMBER(38) | NO | The error code. |
| COMMENT | VARCHAR2(4096) | YES | The task execution description. |
Sample query
A user tenant can query the execution progress of a backup cleanup job task in its own user tenant.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_BACKUP_DELETE_JOBS\G
Query result:
*************************** 1. row ***************************
JOB_ID: 7
INCARNATION: 1
INITIATOR_TENANT_ID: 1002
INITIATOR_JOB_ID: 7
EXECUTOR_TENANT_ID: 1002
TYPE: DELETE OBSOLETE BACKUP
PARAMETER: expired_time:2025-09-12 12:09:40.060284
JOB_LEVEL: USER_TENANT
START_TIMESTAMP: 2025-09-13 12:09:53.389512
END_TIMESTAMP:
STATUS: DOING
TASK_COUNT: 2
SUCCESS_TASK_COUNT: 1
RESULT: 0
COMMENT:
1 row in set
References
View the progress of the backup cleanup Task task DBA_OB_BACKUP_DELETE_TASKS
View the history of backup cleanup jobs: DBA_OB_BACKUP_DELETE_JOB_HISTORY
View the history information of backup cleanup tasks: DBA_OB_BACKUP_DELETE_TASK_HISTORY
For more information about how to set automatic cleanup of expired backups, see Set automatic cleanup of expired backups.
