Choosing compression type

 

Choose compression type explains the types of compression that are available.

You can use compression and other capabilities to improve save performance and also use less media for your save. Data compression compresses data on the media when you perform the save operations. Data decompression reconstructs data when you perform a restore operation. The system ensures that information saved can be reconstructed exactly. No data is lost as a result of compression and decompression.

The two main types of compression are hardware compression and software compression. Most tape media devices use hardware compression, which is normally faster than software compression. Software compression takes considerable processing unit resources and may increase your save and restore time.

In addition to data compression, you can use compaction and optimum block size features to streamline your save. These features are available through parameters on all save commands: .

You can see examples of the parameter values in the SAVSYS command description.

If you save to save files or optical media, you also have three choices available for software compression: low, medium, and high. If you choose a higher form of compression, your save will take longer, but the resulting save data will usually be smaller. The following choices are available on the Data Compression (DTACPR) parameter of the save commands and through the Save Object (QsrSave) and Save Object List (QSRSAVO) APIs:

You can also find more information about compression, compaction, and optimum block size in System iā„¢ Performance Capabilities Reference. The chapter on "Saves and restores using save files" contains information on the compression ratios for *LOW, *MEDIUM, and *HIGH compression.

 

Parent topic:

Before you save anything...

Related concepts
Save files

Related information
Storage Solutions