The distribute command describes transaction control and data manipulation operations. It also conveys information that Replication Server uses to ensure that transaction log information is transferred without loss or duplication, in the event of failure.
In general, after establishing a session, RepAgent generates a distribute command for each operation it retrieves from the database log.
The format of the distribute command is:
distribute command_tags subcommand [values]
The command has three parts:
The command_tags field is used by Replication Server to associate the command with its transaction and to ensure reliable transfer of the database log.
A subcommand name specifies the operation.
The data values associated with the operation are required with all subcommands except commit transaction and rollback transaction.