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

Synopsis

You may have noticed that many of the DBMS_REPCAT procedures require you to quiesce the environment before using them. Quiescence, as it is called, accomplishes two things:

  • It applies all outstanding DML for the replication group at all master sites.

  • It prevents any additional DML on any of the replicated objects at all master sites.

In other words, quiescence ensures that all sites are up to date and forces the replicated environment to stand still.

Do not attempt to quiesce an environment that has unresolved errors or any other serious problems. If you cannot complete outstanding transactions, you will not be able to quiesce the environment.

The SUSPEND_MASTER_ACTIVITY procedure quiesces an environment. It propagates all deferred transactions and RPCs and then disables all replication activity. Although this procedure allows you to specify a replication group in Version 7.x databases, all replication groups whose master definition site is the invoking site are quiesced. Group-level quiescence is available with Oracle8. This call can take some time to complete if you have many master sites or many outstanding transactions. You can monitor the progress by querying the status field in the DBA_REPCATLOG data dictionary view.

The specifications differ for Oracle7 and Oracle8 as follows.

Oracle7 specification:

PROCEDURE DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY (gname IN VARCHAR2 := '', execute_as_user IN BOOLEAN := FALSE, sname IN VARCHAR2 := ''); ...
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