company logo

DBReplication - Replication database maintenance

Requirements: Server, section in server ini-file

Parameters required for the process depend on the requested operation (oper):

disable - Disable replication feature for database. No more parameters required.

enable . Enable replication feature for database (default). In this case, one may pass a new replication version number (version), when the replication database feature is not yet enabled, and the number of maximum transactions (ta_limit) to be stored on the server database.

In order to automatically create a new (next higher) version number, a condition may be defined (nn). When the transaction number for the last transaction stored exceeds nn% of the transaction limit (ta_limit), a new replication version will be created and the trahsaction number will be reset to 0.

DBReplication DB|Database=db_or_sect;

              [ O|Operation=oper; ]

              [ T|TransactionLimit=ta_limit; ]

              [ V|Version=version; ]

              [ C|Condition=nn; ]

Definition: 

db_or_sect - symbolic name or file path referring to the database or to a section name in the ini-file. ini-file.

oper - operation: e[nable] - enable RDB mode (default), disable - d[isable] RDB mode.

ta_limit - maximum number of transactions stored on server (default: 5000)

version - new replication version number (default: next version number)

nn - A new replication version will be created only, when the last transaction number exceeds nn percent of the transaction limit (will be ignored for disable operation)