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

Synopsis

The ALTER_SITE_PRIORITY_SITE procedure is analogous to the ADD_PRIORITY_datatype procedure; use it to change the site name for an existing named site in a site priority group. The specifications for Oracle7 and Oracle8 differ as follows.

Oracle7 specification:

PROCEDURE DBMS_REPCAT.ALTER_SITE_PRIORITY_SITE
   (gname IN VARCHAR2 := '',
    name IN VARCHAR2,
    old_site IN VARCHAR2,
    new_site IN VARCHAR2,
    sname IN VARCHAR2 := '');

Oracle8 specification:

PROCEDURE DBMS_REPCAT.ALTER_SITE_PRIORITY_SITE
   (gname IN VARCHAR2 := '',
    name IN VARCHAR2,
    old_site IN VARCHAR2,
    new_site IN VARCHAR2);

Parameters

Parameter Name

Description

gname

Name of the replication group to which the site priority group name belongs

name

Name of the site priority group

old_site

Global name of the site currently associated with the priority level

new_site

Global name of the site that is to replace old_site at old_site’s priority level

sname (Oracle7 only)

Schema name (provided for pre-Oracle 7.3 compatibility)

Exceptions

Exception Name

Number

Description

duplicatesite

–00001

new_site is already in the site priority group.

missingpriority

–01403

Site priority group name does not exist.

missingrepgroup

–23373

Replication group gname does not exist.

missingvalue

–23337

old_site is not in the site priority group.

nonmasterdef

–23312

Calling site is not the master definition site.

Restrictions

  • You must call this procedure from the master definition site.

  • The new site must be unique in the site priority group.

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