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

  • For the first_scn, the lowest SCN in the redo log from which a Capture process can capture changes is specified. A non-NULL value for this parameter is valid only if the dbms_capture_adm.build procedure has been run at least once at the source database.
     

  • The logfile_assignment parameter is relevant for Down Streams capture configuration. If set to IMPLICIT, which is the default, the Capture process at a Down Streams database scans all redo log files added by log transport services or manually from the source database to the Down Streams database. If set to EXPLICIT, a redo log file is scanned by a Capture process at a Down Streams database only if the Capture process name is specified in the for logminer_session_name clause when the redo log file is added manually to the Down Streams database.

The following section presents an example that is used to illustrate the local capture creation using the create_capture procedure.

The first step is to create the rule set and add a rule to the rule set. For creating the rule, the create_rule procedure can be used.  For creating the rule set, the create_rule_set procedure of the dbms_rule_adm package can be used. The following SQL creates a rule, a rule set and adds the rule to the rule set.

--(1) First Create Rule Set
BEGIN
DBMS_RULE_ADM.CREATE_RULE_SET(
 rule_set_name                         => 'strmadm.ny4_set1',
 evaluation_context        => 'SYS.STREAMS$_EVALUATION_CONTEXT');
END;
/
-- (2) Then Create a Rule
BEGIN
DBMS_RULE_ADM.CREATE_RULE(


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.