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

Capture Creation – Using create_capture procedure

rule_name => 'strmadm.ny4_rule1_dml',
condition => ' :dml.get_object_owner () = ''NY4'' AND ' || '
:dml.is_null_tag() = ''Y'' '
);
END;
/
-- (3) Add the rules to the rule set

BEGIN
DBMS_RULE_ADM.ADD_RULE(
rule_name => 'strmadm.ny4_rule1_dml',
rule_set_name => 'strmadm.ny4_set1');
END;
/

The next example shows how the create_capture procedure in the dbms_capture_adm package is used to create a local Capture process.  It uses the rule set that was created in the previous step.

BEGIN
DBMS_CAPTURE_ADM.CREATE_CAPTURE(
queue_name                 => 'ny4_queue',
capture_name               => 'ny4_capture',
rule_set_name             => 'strmadm.ny4_set1',
start_scn                       => NULL,
source_database          => NULL,
use_database_link        => false,
first_scn                        => NULL);
END;
/


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.