background image
<< derby.locks.waitTimeout | derby.replication.verbose >>

derby.replication.maxLogShippingInterval

<< derby.locks.waitTimeout | derby.replication.verbose >>
Derby Reference Manual
372
same pace as the log is generated" in the topic "Replication failure handling" in the Derby
Server and Administration Guide
).
You can also use the properties
derby.replication.minLogShippingInterval
and
derby.replication.maxLogShippingInterval
to tune the rate at which the log is shipped
from the master to the slave.
Minimum value
8192 (8 KB).
Maximum value
The maximum value is 1048576 (1 MB).
Default
32768 bytes (32KB).
Example
derby.replication.logBufferSize=65536
Scope
system-wide
Dynamic or static
This property is static; if you change it while Derby is running, the change does not take
effect until you reboot.
derby.replication.maxLogShippingInterval
Function
Specifies, in milliseconds, the longest interval between two consecutive shipments of the
transaction log from the master to the slave. This property provides a "soft" guarantee
that the slave will not deviate more than this number of milliseconds from the master.
The value specified for the derby.replication.maxLogShippingInterval property must be
at least ten times the value specified for the
derby.replication.minLogShippingInterval
property. If you set derby.replication.maxLogShippingInterval to a lower value, Derby
changes the
derby.replication.minLogShippingInterval
property value to the value of the
derby.replication.maxLogShippingInterval property divided by 10.
Default
5000 milliseconds (5 seconds).
Example
derby.replication.maxLogShippingInterval=10000
Scope
system-wide
Dynamic or static
This property is static; if you change it while Derby is running, the change does not take
effect until you reboot.
derby.replication.minLogShippingInterval
Function