All technological notes.
high-water mark:
data blocks are unformatted and have never been used.未格式化或从来未用过HWM as per definition.Low high-water mark:
Unsed Block Compression:
Unallocated blocks:
high-water mark (HWM).未格式或未用过Unused blocks:
seament.guaranteed restore points are defined.data file contains data only for locally managed tablespaces. 数据文件只用于本地 tbspdata file is being backed up to a backup set as part of a full backup or a level 0 incremental. 数据文件已经全备份Oracle Secure Backup is the media manager.
Block Compression
Block Compression do not need to perform any additional steps when restoring a compressed backup. 恢复压缩备份时, 无需额外动作.
Perfomance
compressed backup will probably take longer and require more system resourcesCPU and memory.RMAN can perform binary compression on any backup set that is generated. 只适用于 backup set
Compression Algorithms:
BASIC:
Oracle Advanced Compression option.MEDIUM at expense of additional CPU usage.LOW:
MEDIUM:
HIGH:
BACKUP AS COMPRESSED BACKUPSET if not necessary if the a global configuration is done.-- By default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
-- Configure compression per device
CONFIGURE COMPRESSION ALGORITHM 'HIGH/MEDIUM/LOW/BASIC';
-- Set compression individually
run {
SET COMPRESSION ALGORITHM 'HIGH/MEDIUM/LOW/BASIC'
}
-- use compression for a particular backup device
BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG;
-- configure algorithm
CONFIGURE COMPRESSION ALGORITHM 'HIGH';

-- backup
BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG;

Comparison:
| Basic | High | |
|---|---|---|
| ORCL | 1.44G | 257.54M |
| pdbseed | 554.55M | 89.26M |

-- reset configuration
CONFIGURE COMPRESSION ALGORITHM CLEAR;
-- confirm
SHOW COMPRESSION ALGORITHM;
