compression

Turns on or off compression of the synchronization stream between the MobiLink server and MobiLink clients.

Syntax
compression= { zlib | none }
Protocols
Support notes
Default

For UltraLite, compression is off by default.

For dbmlsync, zlib compression is used by default.

Caution

In SQL Anywhere clients, if you turn off compression the data is completely unobfuscated; if security is an issue, you should encrypt the stream.

See Transport-layer security.

Remarks

When you use zlib compression, you can configure the upload and download compression using the zlib_download_window_size option and zlib_upload_window_size option. Using these options, you can also turn off compression for either the upload or the download.

To use zlib compression in UltraLite, an application must call ULEnableZlibSyncCompression( sqlca ) and mlczlib10.dll must be deployed.

See also
Example

The following option sets compression for upload only, and sets the upload window size to 9:

"compression=zlib;zlib_download_window_size=0;zlib_upload_window_size=9"