Row Count Validation for Non-SQL Statement Replication

To address errors in Replication Server, Replication Server 15.2 includes support for Replication Server error classes and error actions for row count verification errors not related to SQL statement replication.

Note: Replication Server ignores row count validation for those commands that are in a customized function string. See “SQL statement replication does not support autocorrection,” in Chapter 4, “Performance Tuning” in the Replication Server Administration Guide Volume 2.

Replication Server 15.2 introduces the Replication Server error class. Therefore, with version 15.2, a connection associates itself with two error class types—a data server error class and a Replication Server error class. You must associate a Replication Server error class with a connection before Replication Server can query the Replication Server error class for overrides to the default Replication Server error actions. You can associate a connection with only one Replication Server error class. However, you can associate one Replication Server error class with multiple connections. Use the set replication server error class parameter for the create connection and alter connection commands to associate a Replication Server error class with a connection.

When Replication Server responds to errors, it looks first for the Replication Server error class assigned to the connection. If Replication Server does not find the Replication Server error class, Replication Server uses the default rs_repserver_error_class error class assigned to the server.

Related concepts
Row Count Validation for SQL Statement Replication