Overview
oceanbase.CDB_OB_BACKUP_CLEAN_HISTORY provides information about the backup data cleanup history of each tenant.
Field description
| Field name | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| BS_KEY | bigint(20) | NO | The ID of the backup set. |
| START_TIME | timestamp(6) | NO | The time when the cleanup started. |
| END_TIME | timestamp(6) | NO | The time when the cleanup ended. |
| INCARNATION | bigint(20) | NO | The number of the incarnation of the database. |
| TYPE | varchar(64) | NO | The cleanup type. This field indicates whether expired backup sets or specified backup sets are cleaned up. |
| STATUS | varchar(64) | NO | The backup cleanup status. Valid values: * STOP * PREPARE * DOING |
| PARAMETER | varchar(256) | NO | The meaning of this field varies with the cleanup types. If the value of TYPE indicates that expired backup sets are cleaned up, this field indicates the expiration time. If the value of TYPE indicates that specified backup sets are cleaned up, this field indicates the IDs of the specified backup sets. |
| ERROR_MSG | varchar(512) | NO | The error message. |
| COMMENT | varchar(4096) | NO | The cleanup information. |