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

Synopsis

The DEFINE_SITE_PRIORITY procedure creates a site priority group. You can add sites to this group later. The new site priority does not take effect until you call GENERATE_REPLICATION_SUPPORT for the table. Specifications differ for Oracle7 and Oracle8 as follows.

Oracle7 specification:

PROCEDURE DBMS_REPCAT.DEFINE_SITE_PRIORITY
   (gname IN VARCHAR2 := '',
    name IN VARCHAR2,
    comment IN VARCHAR2 := NULL,
    sname IN VARCHAR2 := '');

Oracle8 specification:

PROCEDURE DBMS_REPCAT.DEFINE_SITE_PRIORITY
   (gname IN VARCHAR2 := '',
    name IN VARCHAR2,
    comment IN VARCHAR2 := NULL)

Parameters

Parameter Name

Description

gname

Name of the replication group containing the site priority group

name

Name of the site priority group

comment

Comment, visible in DBA_REPPRIORITY_GROUP data dictionary view

sname (Oracle7 only)

Schema name (provided for pre-Oracle 7.3 compatibility)

Exceptions

Exception Name

Number

Description

duplicateprioritygroup

–23335

Site priority group name already exists.

missingrepgroup

–23373

Replication group gname does not exist.

nonmasterdef

–23312

Calling site is not the master definition site.

Restrictions

You must call DEFINE_SITE_PRIORITY from the master definition site.

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