For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 3 - Streams Replication

Design Considerations

In another example, delete conflicts can be avoided by a simple strategy. Instead of deleting the rows, the rows can simply be marked for deletion. One specified site can then take charge and delete them. In this way, a potential delete conflict issue can be avoided.

Pre-built update conflict handlers

Before moving on to an examination of the conflict handlers, it is important to understand what a column list is and what the resolution columns are. The column list indicates the set of columns for which the update conflict handler is called when there is an update conflict. The resolution columns are the columns which will be used to identify an update handler. Also in some cases, resolution columns will be used to resolve the conflict.

Oracle provides four types of pre-built update conflict handlers. They are OVERWRITE, DISCARD, MAXIMUM and MINIMUM. The following example will illustrate the use of these handlers.

A row in the ALLINSURED table with polno 452366 is updated at the NY site and at the same time at London site. The update at the NY site changes the value of the SUM_ASSURED column to 45000 from 35000, but the London site changes the value to 62000 from 35000. When the row LCR from NY reaches the London site, it finds the old value of 62000 instead of expected 35000.

When used, the OVERWRITE handler, in the above situation, will overwrite the value at the London site value with 45000 and the conflict is resolved.


The above text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


For more details and scripts, see my new book " Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot.

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC: