Your browser does not support JavaScript. This help page requires JavaScript to render correctly.
Skip Headers
Previous
Previous
 
Next
Next

About Two-Database Replication Environments

A two-database replication environment is one in which only two databases share the replicated database objects. The changes made to replicated database objects at one database are captured and sent directly to the other database, where they are applied. In a two-database replication environment, only one database might allow changes to the database objects, or both databases might allow changes to them.

If only one database allows changes to the replicated database objects, then the other database contains read-only replicas of these database objects. This is a one-way replication environment and typically has the following basic components:

Figure: One-Way Replication in a Two-Database Replication Environment shows a two-database replication environment configured for one-way replication.

One-Way Replication in a Two-Database Replication Environment

Description of this figure follows
Description of "One-Way Replication in a Two-Database Replication Environment"

In a two-database replication environment, both databases can allow changes to the replicated database objects. In this case, both databases capture changes to these database objects and send the changes to the other database, where they are applied. This is a bi-directional replication environment and typically has the following basic components:

Figure: Bi-Directional Replication in a Two-Database Replication Environment show a two-database replication environment configured for bi-directional replication.

Bi-Directional Replication in a Two-Database Replication Environment

Description of this figure follows
Description of "Bi-Directional Replication in a Two-Database Replication Environment"

Typically, in a bi-directional replication environment, you should configure conflict resolution to keep the replicated database objects synchronized. You can configure a two-database replication environment using Setup Streams Replication Wizard in Oracle Enterprise Manager or the configuration procedures in the DBMS_STREAMS_ADM package.

Related Topics

Tutorial: Configuring Two-Database Replication with Local Capture Processes

Tutorial: Configuring Two-Database Replication with a Downstream Capture Process

Tutorial: Configuring Two-Database Replication with Synchronous Captures

About Conflicts and Conflict Resolution

About the Common Types of Oracle Streams Replication Environments