Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Home
Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients

 

Free Oracle Tips


 
HTML Text AOL

Free Oracle App Server Tips


 
HTML Text

Oracle support

Oracle training

Oracle tuning

Rednecks!

Remote Oracle

Custom Oracle Training

 

   
  Oracle Replication Tips by Burleson

Define the Oracle replication Conflict Resolution Method

Next, we define the conflict resolution method for that column group.

execute dbms_repcat.add_update_resolution(
  sname  => ‘PUBS’,
  oname => ‘SALES’,
  column_group => ‘SALES_COLGP’,
  sequence => 1,
  method => ‘LATEST TIMESTAMP’,
  parameter_column_name => ‘ORDER_DATE’);

Now, when a conflict occurs on the column group, the first (and only, for the moment) method of resolution will be the latest date method (defined via the method parameter). The date within the ORDER_DATE column will be used to resolve the conflict. 

If we wanted to define a second method, we could use the same command, but replace the method parameters and change the sequence to equal two.  Oracle will apply the two conflict resolution methods in the sequence order. 

You might have noticed that the above example has limited usefulness, since the order date is likely to remain the same for all transactions.  It would be more useful to compare the transaction execution time, rather than the ORDER_DATE

So let’s alter our replicated object using the procedure dbms_repace.alter_master_repobject, which we call from the master definition site. With this procedure, we will

This is an excerpt from Oracle Replication By Rampant TechPress (only $19.95).  You can click here to order a copy and get instant access to the code depot:

http://www.rampant-books.com/book_2003_2_replication.htm


Get a Personal Oracle Replication Mentor

The author is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle replication question. 

You can get me personally, or any Oracle Certified replication DBA with more than 20 years of full-time IT experience. 

 

 

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

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

 

email BC:


Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.