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 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Column | Type | Nullable | Description | --- | --- | --- | --- | JOB_ID | NUMBER(38) | NO | Task ID, which is incrementally generated. | ||
| INCARNATION | NUMBER(38) | NO | Split ID | ||||||||||
| INITIATOR_TENANT_ID | NUMBER(38) | NO | The ID of the initiator's tenant. | ||||||||||
| INITIATOR_JOB_ID | NUMBER(38) | NO | the tenant initiating the job | INITIATOR_JOB_ID | NUMBER(38) | NO | the tenant initiating the job | ||||||
| JOB_ID | |||||||||||||
| EXECUTOR_TENANT_ID | VARCHAR2(65536) | NO | The list of tenants that execute cleanup tasks. | ||||||||||
| Column | Type | Nullable | Description | --- | --- | --- | --- | TYPE | VARCHAR2(64) | NO | Type of the backup set to be cleaned. Valid values:
|
||
| PARAMETER | VARCHAR2(1024) | NO | This column stores the parameter information of different cleaning types. | ||||||||||
| JOB_LEVEL | VARCHAR2(64) | NO | Task initiation level:
|
||||||||||
| START_TIMESTAMP | VARCHAR2(256) | NO | The current tenant time when the task starts. | ||||||||||
| END_TIMESTAMP | VARCHAR2(256) | NO | The current time of the tenant when the task is completed. | ||||||||||
| 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 | backup_set/piece Successful tasks | ||||||||||
| RESULT | NUMBER(38) | NO | Error code | ||||||||||
| COMMENT | VARCHAR2(4096) | YES | 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.