My Oracle Support Banner

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

Last updated on FEBRUARY 08, 2022

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
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.

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



To view full details, sign in with your My Oracle Support account.

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

In this Document
 Software Requirements/Prerequisites

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.