By default,
SAS/CONNECT uses network file compression
whenever a file is transferred between a client and a server by using
the UPLOAD and DOWNLOAD procedures.
SAS/CONNECT 8.2 introduced
a network file compression algorithm that significantly improved performance
for large data transfers. A large transfer is defined as a file whose
size is 32K bytes or larger. In general, the larger the file, the
greater the potential for a performance gain.
The goal of network
file compression is to reduce the number of buffers that must be sent
when uploading and downloading files across a network. In order to
reduce the number of buffers that are used, buffers are packed to
capacity for each network transfer.
The algorithm uses run-length
encoding and sliding window compression. Consecutive occurrences
of a single byte are compressed by using run-length encoding, and
patterns of characters are compressed by using a sliding window that
stores an offset to the previously occurring pattern in the compressed
data.
However, performance
benefits that result from data compression depend on the data itself.
For example, significant compression that yields a performance benefit
is expected for data that contains a regularly repeating pattern.
However, for data that does not contain a regularly repeating pattern,
compression would not produce a significant performance benefit.
To take advantage of
the compression algorithm, both the
SAS/CONNECT client and the server
must run
SAS/CONNECT 8.2 or a later release of SAS software.