How To Replicate Data From One Schema To Another Schema In Same Database Using Streams. (Doc ID 1483641.1)

Last updated on MAY 07, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Goal

 The following is a complete code sample that configures unidirectional streams replication and transforms the source schema name 'TEST' into schema 'HR_DEMO' in the same database DML operations.

The sample code uses a declarative rule-based transformation to transform the schema name.

Declarative rule transformations are available in 10.2x and later.

For earlier releases a custom rule-based transformation can be implemented.

Software Requirements/Prerequisites

 

The script is applicable to 10.2x and 11.x

As a prerequisite, ensure the streams parameters are configured as detailed in Note.418755.1 10gR2 Streams Recommended Configuration

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms