Chapter 13. Using SQL Remote with Replication Server
Configuring Replication Server
Thissection describes how to configure Replication Server for use with the
SQLRemote Open Server
TheReplication Server connection to the SQL Remote Open Server must
haveseveral configuration parameters set.

Set the dsi_xact_group_size parameter

Bydefault, Replication Server groups multiple transactions into larger
transactions. The dsi_xact_group_size parameter controls the maximum
sizeof a grouped transaction.
Thedsi_xact_group_size parameter must be set to –1 to disable transaction
grouping. Transactions that originate from differentremote databases in a
SQLRemote setup must not be grouped together.
Howto set the parameter Youcan set the parameter using the following statement:
CONFIGURE CONNECTION TO "ssqueue_server"
SET dsi_xact_group_size TO ’-1’

Set the dsi_num_threads parameter

TheSQL Remote Open Server does not support multiple DSI threads.
ReplicationServer should not be configured to use multiple DSI threads on
SQLRemote connections.

Create replication definitions for SQL Remote data

Replicationdefinitions for tables being replicated by SQL Remote must have
certaincharacteristics. Thissection describes those characteristics.
Insome circumstances SQL Remote replicates an UPDATE operation as an
INSERTor a DELETE (see “Replication of updates” on page 78). This is
referredto as subscriptionmigration in the Replication Server
documentation. In order to replicate an UPDATEas an INSERT,
SQLRemote requires the full pre-image of the row. This means that
ReplicationServer must specify the values of every column in the WHERE
clauseof any UPDATE to a table that might need to be replicated as an
INSERT.
Thesimplest way to achieve this is to list all columns in the PRIMARY
KEYof the replication definition. Thisforces Replication Server to include
everycolumn in the WHERE clause of every update. REPLICATE
MINIMALCOLUMNS can be used on these replication definitions to
285