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

Synopsis

The CREATE_MASTER_REPOBJECT procedure adds a new replicated object to an existing replication group.

PROCEDURE DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
   sname IN VARCHAR2,
   oname IN VARCHAR2,
   type IN VARCHAR2,
   use_existing_object IN BOOLEAN := TRUE,
   ddl_text IN VARCHAR2 := NULL,
   comment IN VARCHAR2 := '',
   retry IN BOOLEAN := FALSE,
   copy_rows IN BOOLEAN := TRUE,
   gname IN VARCHAR2 := '');

It is generally easier to instantiate objects that you intend to replicate at all participating master sites before calling CREATE_MASTER_REPOBJECT. This avoids the additional time and complexity of having the procedure create and populate the replicated objects itself.

Parameters

Parameter Name

Description

sname

Name of the schema to which oname belongs.

oname

Name of the object to be added.

type

Object type. Valid types: TABLE, INDEX, SYNONYM, TRIGGER, VIEW, PROCEDURE, FUNCTION, PACKAGE, and PACKAGE BODY.

use_existing_object

Set to TRUE to reuse existing objects with the same name and structure at master sites.

ddl_text

Text of DDL statement to create object oname (use this parameter if and only if object does not already exist).

comment

Comment on replicated object, visible in DBA_REPOBJECT data dictionary view.

retry

Flag indicating that this call is a reattempt of an earlier call. An attempt is made to create object only at master sites where it does not exist with a status of VALID.

copy_rows

Populate tables and other master sites with data from master definition ...

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