How To Replicate Data From One Schema To Another Schema In Same Database Using Streams.
Last updated on MAY 07, 2017
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 184.108.40.206 [Release 10.2 to 11.2]
Information in this document applies to any platform.
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.
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
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms