Oracle® Database Advanced Replication Management API Reference 10g Release 1 (10.1) Part Number B10733-01 |
|
|
View PDF |
This procedure specifies whether to compare old column values during propagation of deferred transactions at each master site for each nonkey column of a replicated table for updates and deletes. The default is to compare old values for all columns. You can change this behavior at all master sites and materialized view sites by invoking DBMS_REPCAT
.COMPARE_OLD_VALUES
at the master definition site.
When you use user-defined types, you can specify leaf attributes of a column object, or you can specify an entire column object. For example, if a column object named cust_address
has street_address
as an attribute, then you can specify cust_address.street_address
for the column_list
parameter or as part of the column_table
parameter, or you can specify only cust_address
.
When performing equality comparisons for conflict detection, Oracle treats objects as equal only if one of the following conditions is true:
NULL
(the entire object is NULL
)Given these conditions, if one object is atomically NULL
while the other is not, then Oracle does not consider the objects to be equal. Oracle does not consider MAP
and ORDER
methods when performing equality comparisons.
DBMS_REPCAT.COMPARE_OLD_VALUES( sname IN VARCHAR2, oname IN VARCHAR2, { column_list IN VARCHAR2, | column_table IN DBMS_UTILITY.VARCHAR2s | DBMS_UTILITY.LNAME_ARRAY,} operation IN VARCHAR2 := 'UPDATE', compare IN BOOLEAN := true );
Note: This procedure is overloaded. The |
Note: The See Oracle Database Advanced Replication for more information about reduced data propagation using the |