| Oracle® Database Advanced Replica
tion Management API Reference 10g Release 1 (10.1) Part Number B10733-01 |
|
|
View PDF |
This procedure changes the master site of a materialized view g roup to another master site. This procedure does a full refresh of the affected materialized views and regenerates the triggers and t heir associated packages as needed. This procedure does not push the queue to the old master site before changing master sites.
< a name="99835">If generate_80_compatible is false for the materialized view and the new
master site is a release lower than Oracle release 8.0, then regenerate replication support for the materialized view with gen
erate_80_compatible set to true.
You can set both parameters for a materi
alized view in one call to DBMS_REPCAT.GENERATE_MVIEW_SUPPORT.
DBM S_REPCAT.SWITCH_MVIEW_MASTER ( gname IN VARCHAR2, master IN VARCHAR 2, gowner IN VARCHAR2 := 'PUBLIC');
| Parameter | < /a> Description |
|---|---|
gname |
<
/a>
Name of the materialized view group for which you want to change the master site. |
master |
Fully qualified database name of the new master site to use for the materialized view group. |
gowner |
Owner of the materialized view group. |