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


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

 

 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 4 - Capture and Propagate Configuration

Using add_schema_propagation_rules

In the above example, the destination queue of LN2_QUEUE at the DNYOIP20 database has been specified. NY2 schema objects are configured to be propagated to the destination.

If the goal is to use schema rules but there is concern about changes to database objects in a schema that are not supported by Streams, the rules can be used to discard unsupported changes.  The dbms_rules_adm package can be used to achieve this.

Using dbms_propagation_adm to create propagation

The following is an example that uses the create_propagation procedure of the dbms_propagation_adm package to create a propagation:

BEGIN
DBMS_PROPAGATION_ADM.CREATE_PROPAGATION(
propagation_name                    => 'ny4_propagate',
source_queue               => 'strmadm.ny4_queue',
destination_queue                     => 'strmadm.ln4_queue',
destination_dblink                    => 'dnyoip20.world',
rule_set_name             => 'strmadm.ny4_rule_set1');
END;
/

The above example creates the NY4_PROPAGATE propagation to send events from the queue named NY4_QUEUE to the LN4_QUEUE located at DNYOIP20 database.

This method does not create the propagation rules automatically. The pre-created rule set must be specified and associated with this propagation. In the above example, the propagation is associated with an existing rule set named NY4_RULE_SET1. This rule acts as the positive rule set for the propagation.


The above text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

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

 

   

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.