Previous |
Next |
Before configuring materialized view replication, prepare the databases that will participate in the replication environment.
To prepare for materialized view replication:
If possible, then ensure that each replicated table has a primary key. Where a primary key is not possible, each replicated table must have a column or set of columns that can be used as a unique identifier for each row of the table. If the tables that you plan to use in your replication environment do not have a primary key or a set of unique columns, then alter these tables accordingly.
Set initialization parameters properly at each database in your replication environment before you configure materialized view replication:
Global names: Set the GLOBAL_NAMES
initialization parameter to TRUE
at each database that will participate in the replication environment. See "Setting the GLOBAL_NAMES Initialization Parameter to TRUE".
System Global Area (SGA) and the shared pool: Ensure that the shared pool is large enough to accommodate the components created for the replication environment. The shared pool is part of the SGA. You can manage the shared pool by setting the MEMORY_TARGET
initialization parameter (Automatic Memory Management), the SGA_TARGET
initialization parameter (Automatic Shared Memory Management), or the SHARED_POOL_SIZE
initialization parameter. Typically, the shared pool should be larger for an Oracle database in a replication environment than in a nonreplication environment.
See Viewing and Modifying Initialization Parameters for information about modifying initialization parameters.
Configure network connectivity so that the databases in the replication environment can communicate with each other. See Configuring the Network Environment for information about configuring network connectivity between databases.
Replicating Read-Only Data Using Materialized Views
Replicating Read/Write Data Using Materialized Views
Oracle Database Advanced Replication for more information about initialization parameters in a replication environment