Previous |
Next |
Sometimes it is necessary to extend an Oracle Streams replication environment when the needs of your organization change. You can extend an Oracle Streams replication environment by adding database objects or databases.
There are two ways to extend an Oracle Streams replication environment:
Use the Setup Streams Replication Wizard or a Single Configuration Procedure
Add the Oracle Streams Components Individually in Multiple Steps
Use the Setup Streams Replication Wizard or a Single Configuration Procedure
You can extend an Oracle Streams Replication environment using one of the following methods if the environment satisfies certain conditions:
Run the Setup Streams Replication Wizard in Oracle Enterprise Manager
Run one of the following procedures in the DBMS_STREAMS_ADM
package:
The MAINTAIN_GLOBAL
procedure can add a new database to an environment that replicates changes to all of the database objects in the databases.
The MAINTAIN_SCHEMAS
procedure can add one or more new schemas to the existing databases in the replication environment, or it can add a new database that replicates schemas that are currently being replicated.
The MAINTAIN_SIMPLE_TTS
procedure can add a new simple tablespace to an existing replication environment, or it can add a new database that replicates a simple tablespace that is currently being replicated.
The MAINTAIN_TABLES
procedure can add one or more new tables to the existing databases in the replication environment, or it can add a new database that replicates tables that are currently being replicated.
The MAINTAIN_TTS
procedure can add a new set of tablespaces to an existing replication environment, or it can add a new database that replicates a set of tablespaces that are currently being replicated.
To use the wizard or one of the procedures to extend an Oracle Streams replication environment, the environment must satisfy the following conditions:
It must be a two-database or hub-and-spoke replication environment that was configured by the Setup Streams Replication Wizard or one of the configuration procedures in the DBMS_STREAMS_ADM
package. See "About the Common Types of Oracle Streams Replication Environments" for information about these types of replication environments.
It cannot use a synchronous capture at any database in the Oracle Streams replication environment. See "About Change Capture with a Synchronous Capture" for more information about synchronous capture.
If you are adding a database to the environment, then each database that captures changes must use a local capture process. No database can use a downstream capture process. If you are adding one or more database objects to the environment, then the databases can use either local or downstream capture processes. See "About Change Capture with a Capture Process" for more information about downstream capture.
If you are adding database objects to the replication environment, then the database objects must exist at the database where you run the wizard or at the database specified in the source_database
parameter of a configuration procedure, but these database object must not exist at any of the other databases.
If you are adding a database to the replication environment, then the new database must not contain any of the database objects that are replicated in the current environment.
If your replication environment meets these conditions, then you can use the Setup Streams Replication Wizard or a single procedure to extend the environment. For instructions about adding to a replication environment using the wizard, see the following topics:
For instructions about adding to a replication environment using a single procedure, see Oracle Streams Replication Administrator's Guide.
Add the Oracle Streams Components Individually in Multiple Steps
If you cannot extend the Oracle Streams replication environment by using the Setup Streams Replication Wizard or a configuration procedure in the DBMS_STREAMS_ADM
package, then you must complete the configuration steps manually. These steps include adding the necessary rules and Oracle Streams components to the environment, as well as other configuration steps.
If you must extend the Oracle Streams replication environment manually, then see the instructions in Oracle Streams Replication Administrator's Guide.
Replicating Data Using Oracle Streams
About Hub-And-Spoke Replication Environments
Oracle Database PL/SQL Packages and Types Reference for information about the procedures in the DBMS_STREAMS_ADM
chapter