Skip to Main Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced content levelIntermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

Name

DBMS_REPCAT.REMOVE_MASTER_DATABASES

Synopsis

The REMOVE_MASTER_DATABASES procedure complements the ADD_MASTER_DATABASE procedure by removing one or more master databases from a replication group. The master sites being removed do not need to be accessible, but all other masters do. After removing master sites with REMOVE_MASTER_DATABASES, you should call DROP_MASTER_REPGROUP at each of the master sites you removed. Although you do not need to quiesce the replication group to remove one or more master database(s), you are strongly encouraged to do so. Otherwise, you will manually have to clear the RPC queue and resolve any inconsistencies.

Specification differ for Oracle7 and Oracle8 as follows.

Oracle7 specification:

PROCEDURE DBMS_REPCAT.REMOVE_MASTER_DATABASES
   (gname IN VARCHAR2 := '',
    master_list IN VARCHAR2,
    sname IN VARCHAR2 := '');

Oracle8 specification:

PROCEDURE DBMS_REPCAT.REMOVE_MASTER_DATABASES
   (gname IN VARCHAR2 := '',
    master_list IN VARCHAR2);,

Parameters

Parameter Name

Description

gname

Name of the replication group from which the master site(s) will be removed.

master_list

A comma-delimited list of global_names of master sites to be removed; use either master_list or master_table.

sname (Oracle7 only)

Schema name (provided for pre-Oracle 7.3 compatibility).

Exceptions

Exception Name

Number

Description

commfailure

–23317

One or more remaining master sites is not reachable.

nonmaster

–23313

One or more of the specified masters is not a master database.

nonmasterdef

–23312

Calling site is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu
Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata