Skip to Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

Table Replication

Certainly the most versatile and intriguing component of Oracle’s advanced replication facility is multi-master table replication. Any replicated table can be updated anywhere, and the changes will appear in all participating master sites. However, as with any sophisticated technology, you must configure multi-master replication with great care in order to avoid perils and pitfalls.

This section describes the API calls used to create and to maintain replicated tables, points out techniques to make the administration job easier, and describes some practices that will help you to avoid trouble.

API Calls

The fundamental DBMS_REPCAT procedures for administering replicated tables are as follows:

DBMS_REPCAT. ADD_UNIQUE_RESOLUTION

Adds a uniqueness conflict resolution handler to the table.

DBMS_REPCAT .ADD_UPDATE_RESOLUTION

Adds an update conflict resolution handler to the table.

DBMS_REPCAT. DEFINE_COLUMN_GROUP

Creates an empty column group.

DBMS_REPCAT. DROP_COLUMN_GROUP

Drops a column group.

DBMS_REPCAT. DROP_UNIQUE_RESOLUTION

Drops a uniqueness conflict handler.

DBMS_REPCAT. DROP_UPDATE_RESOLUTION

Drops an update conflict handler.

DBMS_REPCAT. MAKE_COLUMN_GROUP

Creates a column group and assigns columns to the group.

DBMS_REPCAT. SEND_AND_COMPARE_OLD_VALUES

Specifies which columns should send their previous values to remote sites for comparison during updates and deletes.

DBMS_REPCAT. SET_COLUMNS

Specifies the column(s) to use to uniquely identify records in the table.

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

Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata