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_RECTIFIER_DIFF.RECTIFY

Synopsis

The DIFFERENCES procedure paves the way for its companion procedure, RECTIFY, which synchronizes the reference table (oname1). Before running the RECTIFY procedure, always make sure that the updates to the comparison table (oname2) will not violate any integrity, check, or NOT NULL constraints. Note that this procedure does not modify the reference table.

The DIFFERENCES and RECTIFY procedures can take a long time to run. If the volume of data is significant, it will probably be easier for you to simply reinstantiate the comparison table byimportingan export of the reference table.

PROCEDURE DBMS_RECTIFIER_DIFF.RECTIFY
   (sname1 IN VARCHAR2,
   oname1 IN VARCHAR2,
   reference_site IN VARCHAR2 := '',
   sname2 IN VARCHAR2,
   oname2 IN VARCHAR2,
   comparison_site IN VARCHAR2 := '',
   {column_list IN VARCHAR2 := '' |
   array_columns IN dbms_utility.name_array},
   missing_rows_sname IN VARCHAR2,
   missing_rows_oname1 IN VARCHAR2,
   missing_rows_oname2 IN VARCHAR2,
   missing_rows_site IN VARCHAR2 := '',
   commit_rows IN INTEGER := 500);

Parameters

Parameter Name

Description

sname1

Name of the schema that owns oname1.

oname1

Table at the reference_site (truth table).

reference_site

The global name of the site with truth table; if NULL or ' ' (default), the truth table is assumed to be local.

sname2

Name of the schema that owns oname2.

oname2

The comparison table.

comparison_site

The global name of the site with comparison table. If NULL or ' ', table is assumed to be local.

column_list ...

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