Choose 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. You can also find more information about compression, compaction, and optimum block size in iSeries™ Performance Capabilities Reference Link to PDF

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:

Related concepts
Save files
Related information
Storage Solutions