Specify Database Operations

Replication Server distributes database operations from a primary database to destination Replication Servers as functions that consist of a name and a set of data parameters.

The destination Replication Server then uses function strings to map functions to the commands recognized by the destination data server. These commands represent transaction-control directives (begin transaction or commit transaction) or data-manipulation instructions (insert, update, or delete). The function string serves as a template or meta-command that transforms a function to a data-server-specific command. The use of function strings makes it possible for a primary site to replicate data to multiple heterogeneous data servers. Function strings are categorized into function-string classes according to data server type.

For example, a primary Replication Server transmits the rs_insert function to a destination Replication Server, which uses the appropriate function string to translate the function into the insert command specific for the data server in use at that site, whether the database is Adaptive Server, DB2, or another database.

There are two types of functions:

See Replication Server Administration Guide Volume 2 > Customize Database Operations for details.