Purpose
oceanbase.CDB_OB_BACKUP_SET_OBSOLETE displays the backup sets that have expired.
Fields
| Field | Type | Nullable? | Description |
|---|---|---|---|
| INCARNATION | bigint(20) | NO | The nth incarnation of the database after the Flashback Database operation. |
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| BS_KEY | bigint(20) | NO | The ID of the backup set. |
| COPY_ID | varchar(1) | NO | The nth copy of the backup set. |
| BACKUP_TYPE | NO | D: indicates full backup.I: indicates incremental backup. |
|
| ENCRYPTION_MODE | varchar(64) | NO | The encryption mode. Valid values: NONE: indicates that encryption is not implemented.PASSWORD: indicates that only the password is used for protection.PASSWORD ENCRYPTION: indicates that encryption is implemented and the password is used for protection.TRANSPARENT ENCRYPTION: indicates that TDE is used for encryption.DUAL MODE ENCRYPTION: indicates that TDE is used for encryption and the password is also used for protection. Note In the current version, only the NONE and PASSWORD modes are supported. |
| START_TIME | timestamp(6) | NO | The start time. |
| COMPLETION_TIME | timestamp(6) | NO | The completion time. |
| ELAPSED_SECONDS | decimal(21,0) | NO | The time consumed for the backup. |
| KEEP | varchar(2) | NO | YES: indicates that the backup set will be kept permanently.NO: indicates that the backup set will expire based on the retention time. At present, only NO is supported. |
| KEEP_UNTIL | varchar(0) | NO | The duration for keeping the backup set. |
| DEVICE_TYPE | varchar(64) | NO | The medium for storing backup data. |
| COMPRESSED | varchar(2) | NO | Indicates whether the backup set is compressed. Valid values: YES: indicates that the backup set is compressed.NO: indicates that the backup set is not compressed. |
| OUTPUT_BYTES | bigint(20) | NO | The number of output bytes. |
| OUTPUT_RATE_BYTES | decimal(34,4) | NO | The number of bytes that are output per second. |
| COMPRESSION_RATIO | decimal(23,2) | NO | The compression ratio. |
| OUTPUT_BYTES_DISPLAY | varchar(27) | NO | The size of the output data. |
| OUTPUT_RATE_BYTES_DISPLAY | varchar(39) | NO | The data output rate. |
| TIME_TAKEN_DISPLAY | time(6) | NO | The time consumed, in the format of hh:mm:ss. |
| STATUS | varchar(9) | NO | The status of the backup set. Valid values: COMPLETED: indicates that the backup set has been backed up.FAILED: indicates that the backup set failed to be backed up.DELETING: indicates that the backup set is being deleted. |