Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Replicator provides the possibility to set priority to the CAB files. The feature is specifically designed for low bandwidth network to avoid sending/receiving huge CAB files. The following priority levels are available:

  • High priority files contain the meta data metadata or critical information.
  • Low priority cab files contain all the data. 

In this respect, Adonis Replicator covers the following:

...

Within the dialog, click the Satellite / Bandwidth button. Clicking the command makes the Satellite and bandwidth options dialog appearappears:

You can specify your preferences regarding the following points:

...

  • Stop transfer of low priority files when bandwidth is less than (KB/s). In the field, set the bandwidth limit (KB/s) for sending/receiving low priority files.
  • Stop transfer of any files when bandwidth is less than (KB/s). In the field, set the bandwidth limit (KB/s) for sending/receiving any files.

If the Bandwidth thresholds options contain non-zero values, Replicator measures the bandwidth when downloading the first files.


Advanced settings

  • Minimum server response time via a satellite connection (milliseconds). In the field, specify the minimum time the server may respond.
  • Duration of bandwidth measurement process (milliseconds). In the field, how long the measurement of bandwidth can take.

...

There is another way you can use to add low priority fields. Simply, enter LowPriorityFields='VALUE' where VALUE is a field name to be added with low priority and  ImportTableName=' PW001OLEDOCS ' in the replication tasks table.

The LowPriorityFields value must not contain:

  • primary key fields
  • foreign key fields
  • fields used in a unique constraint
  • fields that do not allow nulls

...

When the bandwidth is calculated, Replicator compares its value with the values in the fields. If the bandwidth appears to be lower that than the threshold value, Replicator immediately stops downloading the current file and the Receive phase is terminated. In this case, Replicator adds a corresponding notification to the log file. Next time when Replicator starts and goes to the Receive phase, it will continue downloading the file that has not been downloaded completely. 

...

Field

Table

Field meaning

LastFileNrLowPr (int)

repl_Channel

Number A number of the low priority file that has been recently exported.

PriorityNr

repl_Channel_Log

Priority of a file: 0 stands for a high priority file; 1 is used for a low priority file.

PriorityNr

repl_Channel_Task_Log

...