For replication of data from one source to multiple targets, the schema of all targets must have an identical structure. However, the schema names of the secondary targets that you specify on the
Routing
tab can be different from the schema name of the primary target that you specify on the
Map Tables
tab.
If you replicate change data to a table with a specific schema name on the primary target and want to route the changes to the corresponding table on a secondary target using a different schema name, you must, for the secondary target, override the primary target schema name table with the secondary target schema name. Otherwise, the Applier ends abnormally because it cannot find the schemas of the secondary targets.
For example, if you map a target table that uses the schema name of
Schema1
on a primary target and the schema name of
Schema2
on a secondary target, you must override
Schema1
with
Schema2
on the secondary target.
This task does not apply to Netezza targets. For Netezza targets, Data Replication does not support overriding the target schema names because a Netezza user can own only one schema. For Netezza secondary targets, Data Replication replicates changes to the target schema that corresponds to the user specified in the connection settings for the target.
On the
Routing
tab, select a secondary target server and then click the
Schema Name
subtab.
Click
New
.
The
New
dialog box appears.
Select a primary target schema that is defined in the configuration and enter a new schema name.
For databases that use case-sensitive database object names, enter the schema name in the same case that the database uses. For Oracle unquoted identifiers, use uppercase.