Oracle primary data servers

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

Replication Agent for Oracle

As a primary data server, Oracle interacts with Sybase Replication Agent. The Replication Agent identifies and transfers information about data-changing operations (or transactions) from an Oracle 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.

NoteSybase Replication Agent is a Java program, and it requires a Java Runtime Environment (JRE) to run. Some operating systems require system patches to properly support Java. For more information on your specific operating system version and the patches required, see the Sybase Replication Agent release bulletin.

Oracle primary database permissions

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

The Oracle login ID must have the following permissions:

In addition, the user who starts the Mirror Replication Agent for Oracle instance must have read access to the Oracle redo logs.

Replication intrusions and impacts in Oracle

The performance and operation of Oracle 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 Oracle 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 Oracle

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

Replication Server Manager has the following limitations with an Oracle primary data server:

Oracle primary database configuration issues

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

Replication definitions for primary tables in Oracle

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.

Oracle primary datatype translation issues

The Sybase Replication Agent allows you to control how it sends Oracle 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 for a DATE column must have sufficient length to accommodate the column’s default display length.

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

Oracle system 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 Oracle system tables directly.

NoteOracle does not support multiple databases within a single server instance as Adaptive Server Enterprise does.

Other primary database issues for Oracle

The Sybase Replication Agent provides a set of sample scripts which can be used to set up a simple, single-table replication from Oracle to Adaptive Server. These scripts can be found 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.