Informix Dynamic Server primary data servers

This section describes the primary database issues and considerations specific to the Informix Dynamic Server data server in a Sybase replication system.

Replication Agent for Informix

As a primary data server, Informix interacts with Sybase Replication Agent. The Replication Agent identifies and transfers information about data-changing operations (or transactions) from an Informix primary data server to a primary Replication Server.

The Replication Agent interacts with the primary Replication Server, and with the RSSD of the primary Replication Server, if so configured.

Informix primary database permissions

The Replication Agent requires an Informix login ID that has permission to access data and create new objects in the primary database.

The Informix login ID must have the following permissions in the primary database:

Replication intrusions and impacts in Informix

The performance and operation of Informix primary data servers in a Sybase replication system might be affected by the following:

Primary data server connectivity

Sybase Replication Agent requires the following to connect to an Informix primary data server:

Replication Server connectivity

The values of the following Replication Agent configuration parameters must be set as described so that the Replication Agent can connect to the primary Replication Server:

NoteSybase Replication Agent uses TCP/IP and the Sybase JDBC driver (jConnect for JDBC, which is included in Replication Agent installation) to communicate with other Sybase servers. The Replication Agent does not rely on the Sybase interfaces file for connectivity information.

RSSD connectivity

The values of the following Replication Agent configuration parameters must be set as described so that the Replication Agent can connect to the RSSD of the primary Replication Server:

Primary database limitations in Informix

Sybase Replication Agent imposes the following limitations on an Informix primary data server:

Informix primary database configuration issues

All the installation issues and configuration parameter details for an Informix primary data server are provided in the Sybase Replication Agent Installation Guide. The following are a few items that may need additional attention:

Replication definitions for primary tables in Informix

The Replication Agent use_rssd configuration parameter controls whether the Replication Agent sends Log Transfer Language (LTL) that contains only the columns specified in a replication definition or all of the columns in the primary table.

When the value of the use_rssd parameter is set to false, the Replication Agent sends LTL with data for all of the columns in the primary table. When the value of the use_rssd parameter is set to true, the Replication Agent sends LTL with data for only the columns specified in the replication definition for each primary table.

By sending data for only the columns specified in the replication definition, network traffic is reduced, which can improve performance.

In addition, column names and parameter names are removed from the LTL because the Replication Agent can send information in the order identified by the replication definition. The LTL minimal columns and structured tokens options are also available when the value of the use_rssd parameter is set to true. For more information see the Sybase Replication Agent Administration Guide.

Informix primary datatype translation issues

The Sybase Replication Agent allows you to control how it sends Informix DATE column values to the Replication Server. There are two options:

The value of the Replication Agent pdb_convert_datetime configuration parameter determines how the Replication Agent handles temporal datatypes.

If you set the pdb_convert_datetime parameter to true, all corresponding datatypes in a replication definition for DATE columns are converted to the Sybase datetime datatype.

If you set the pdb_convert_datetime parameter to false, the datatype in a replication definition for a DATE column must be either:

The character (char or varchar) datatype specified in a replication definition for a DATE column must have sufficient length to accommodate the column’s default display length.

For more information about the pdb_convert_datetime parameter and a complete list of datatype mapping for Informix datatypes, see the Sybase Replication Agent Administration Guide. For more information about UDDs and their use, see the Replication Server Administration Guide.

Informix systems management issues

The Sybase Replication Agent provides a number of commands that return metadata information about the primary database (such as database names, table names, procedure names, and column names). It does this by issuing specific JDBC calls designed to return this information, or by querying the system tables directly.

Other primary database issues for Informix

The Sybase Replication Agent provides a set of sample scripts that you can use to set up simple, single-table replication from Informix to Adaptive Server. These scripts are located in the $SYBASE/RAX-12_6/scripts directory of the Sybase Replication Agent installation.

For more information about the sample scripts and their use, see the Sybase Replication Agent Administration Guide.