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 5 -
Apply Process Configuration

Using add_schema_rules to Create an Apply process

For example, to create positive rule set and associate with Apply process for the schema NY2, use the following SQL statement. It creates a positive rule set and associates it with the Apply process.

BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
schema_name             => 'ny2',
streams_type             => 'apply',
streams_name             => 'ln2_apply',
queue_name             => 'ln2_queue',
include_dml             => true,
include_ddl             => true,
include_tagged_lcr      => false,
source_database          => 'dnytst10.world',


inclusion_rule                => true);
END;
/

The above example creates the following rules and rule sets:

SELECT STREAMS_TYPE,
 RULE_NAME, RULE_SET_NAME ,
 RULE_SET_TYPE, STREAMS_RULE_TYPE,
 SCHEMA_NAME, RULE_TYPE
 FROM DBA_STREAMS_RULES where STREAMS_NAME='LN2_APPLY'
/


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: