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.DROP_MASTER_REPGROUP

Synopsis

The DROP_MASTER_REPGROUP procedure drops one or more replication groups (and optionally all of its contents) at the master definition site. Changes do not take effect until GENERATE_REPLICATION_SUPPORT is called.

Before calling DROP_MASTER_REPGROUP, call REMOVE_MASTER_DATABASES from the master definition site to remove all masters for which you plan to drop the group and that do not contain any other replication groups. In addition, you can avoid the fullqueue error by quiescing the replication group before attempting to drop the replication group.

PROCEDURE DBMS_REPCAT.DROP_MASTER_REPGROUP
   (gname IN VARCHAR2,
    drop_contents IN BOOLEAN := FALSE,
    all_sites IN BOOLEAN := FALSE);

Parameters

Parameter Name

Description

all_sites

If TRUE and call is the master definition site, then drop the replication group from all sites in the environment.

drop_contents

If TRUE, drop the objects in the replication group as well as the group itself.

gname

Name of the new replication group.

Exceptions

Exception Name

Number

Description

commfailure

–23317

Unable to communicate with all masters, and all_sites is TRUE.

fullqueue

–23353

Outstanding transactions queued for replication group gname.

missingrepgroup

–23373

gname is not specified correctly.

nonmaster

–23313

Calling site is not a master site.

nonmasterdef

–23312

Calling site is not a master definition site, and all_sites is TRUE.

Restrictions

  • You must be connected to the replication administrator account (typically REPADMIN) to call ...

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