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

Get Oracle Distributed Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.