oceanbase.DBA_OB_BACKUP_DELETE_JOB_HISTORY

2025-12-03 09:58:00  Updated

Purpose

The oceanbase.DBA_OB_BACKUP_DELETE_JOB_HISTORY view displays the history of backup cleanup jobs executed in the current tenant.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
TENANT_ID bigint(20) NO The ID of the tenant.
JOB_ID bigint(20) NO The job ID, which monotonically increases.
INCARNATION bigint(20) NO The ID of the incarnation.
INITIATOR_TENANT_ID bigint(20) NO The ID of the tenant that initiated the job.
INITIATOR_JOB_ID bigint(20) NO The job ID of the tenant that initiated the job.
EXECUTOR_TENANT_ID varchar(65536) NO IDs of tenants that execute the cleanup job.
TYPE varchar(64) NO The cleanup type, including cleanup upon expiration, cleanup for a specified backup set, round, or piece, and cleanup canceling.
PARAMETER timestamp(6) NO The parameters are described as follows:
  • Automatic cleanup or cleanup upon expiration: policy_name = xxx; expired_time = xxx; redundancy:2; backup_copies:1;
  • Manual cleanup for a specified backup set: backup_set_id = 1; dest_id = 1; dest = xxxxx;
  • Manual cleanup for a specified backup piece: dest_round_id = 1; backup_piece_id = 1; dest_id = 1; dest = xxxx;
  • Manual cleanup for a specified backup round: dest_round_id = 1; dest_id = 1; dest = xxxx;
  • Cleanup of backup data on the entire destination: dest_id = 1; dest = xxx;
  • JOB_LEVEL varchar(64) NO The job initiation level. Valid values: USER_TENANT and SYS_TENANT.
    START_TIMESTAMP timestamp(6) NO The time on the tenant when the job started.
    END_TIMESTAMP timestamp(6) NO The time on the tenant when the job ended.
    STATUS varchar(64) NO The status of the job. Valid values:
  • INIT
  • DOING
  • CANCELING
  • CANCELED
  • COMPLETED
  • FAILED
  • TASK_COUNT bigint(20) YES The number of backup set/piece cleanup tasks.
    SUCCESS_TASK_COUNT bigint(20) YES The number of backup set/piece cleanup tasks that are successfully executed.
    RESULT bigint(20) NO The error code.
    COMMENT varchar(4096) YES The execution description of the task.

    Contact Us