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

Object Instantiation and Streams

  • Set the instantiation SCN for the database object at the destination database. The instantiation SCN provides a directive to the Apply process running at the destination database. It implies that only the database changes committed after this SCN at the source database need to be applied at the destination database.  Instantiation is required whenever an Apply process dequeues captured LCRs, even if the Apply process sends the LCRs to an apply handler that does not execute them.

Steps one through three are automatically achieved when rules are added with the dbms_streams package. The export/import method also sets up the instantiation automatically.

In order to replicate changes to a database object, the object must be prepared for instantiation at the source database and the instantiation SCN is set for the object at the destination database. By preparing an object for instantiation, the lowest SCN is being set for which changes to the object may need to be applied at destination databases. This SCN is called the ignore SCN. The setup of the instantiation has to be done after the Capture process is configured.

dbms_capture_adm has three procedures which achieve the instantiation of objects. They are:

  • prepare_table_instantiation – This procedure prepares a single table for instantiation. This procedure is used while configuring the individual tables. This gives fine control over tables that are chosen for replication and those that are not.


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: