Contents Index DisablePolling (p) extended option DownloadOnly (ds) extended option

MobiLink Synchronization Reference
  MobiLink Synchronization Client
    dbmlsync options
      -e extended options

DownloadBufferSize (dbs) extended option

Function 

Specifies the size of the download buffer.

Syntax 

dbmlsync -e dbs= numberK | M ]; ...

Description 

The buffer size is specified in units of bytes. Use the suffix k or m to specify units of kilobytes or megabytes, respectively.

If you set this option to 0, dbmlsync does not buffer the download stream. If the setting is greater than 0 but less than 4k, dbmlsync uses a 4k buffer size and issues a warning. The default is 32K on Windows CE, and 1M on all other operating systems.

Download buffering increases the benefit of eliminating the download acknowledgement because it allows the worker thread to send the download faster.

This option has a short form and long form: you can use dbs or DownloadBufferSize.

You can also store extended options in the database. For more information about dbmlsync extended options, see -e extended options.

Example 

The following dbmlsync command line illustrates how you can set this option when you start dbmlsync:

dbmlsync -e "dbs=32k"

The following SQL statement illustrates how you can store this option in the database:

CREATE SYNCHRONIZATION SUBSCRIPTION
   TO sales_publication
   FOR ml_user1
   OPTION dbs='32k';

Contents Index DisablePolling (p) extended option DownloadOnly (ds) extended option