Turns on or off compression of the synchronization stream between the MobiLink server and MobiLink clients.
compression= { zlib | none }
For UltraLite, compression is off by default.
For dbmlsync, zlib compression is used by default.
In SQL Anywhere clients, if you turn off compression the data is completely unobfuscated; if security is an issue, you should encrypt the stream.
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, mlczlib10.dll must be deployed and for C++ only, applications must call ULEnableZlibSyncCompression( sqlca )
.
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" |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |