If you set the compression option to zlib, you can use this option to specify the compression window size for upload.
12 on Windows Mobile, otherwise 15
To turn off compression for uploads, set the window size to 0. Otherwise, the window size can be a value between 9 and 15 inclusive. In general, better compression rates can be achieved with a higher window size, but more memory is required.
window-bits is the base two logarithm of the window size (the size of the history buffer). The following formulas can be used to determine how much memory is used on the client for each window-bits:
upload (compress): memory = 2(window-size + 3)
download (decompress): memory = 2(window-size)
To support zlib compression in UltraLite, an application must call
ULEnableZlibSyncCompression( sqlca ) and mlczlib10.dll must be deployed.
For information about how to set network protocol options with dbmlsync, see CommunicationAddress (adr) extended option.
For information about how to set network protocol options with UltraLite, see Network protocol options for UltraLite synchronization streams.
The following option sets compression for download only:
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|