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

Home Home
Oracle Monitoring
Growth Monitoring
Emergency DBA Support
Installs & Upgrades
Oracle Migration
Oracle Support Plan
Oracle SQL Tuning
Oracle Performance Tuning

 Our Remote DBA Clients

 

Free Oracle Tips


 
HTML Text

Free Oracle App Server Tips


 
HTML Text

 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 4 - Capture and Propagate Configuration

Capture Creation - Using add_schema_rules procedure

Next, the queue and the Apply Process will be created at the destination database, as shown in the following SQL block:

connect strmadm/strmadm@dnyoip20

Prompt Connected to Target DNYREP10
Prompt Step(3) Creating A new Queue (LN2_QUEUE) at destination
BEGIN
DBMS_STREAMS_ADM.SET_UP_QUEUE(
queue_table             => 'strmadm.ln2_queue_table',
queue_name             => 'strmadm.ln2_queue');
END;
/
PROMPT Step(4) Create APPLY process schema rules at destination
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 text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


    Need an Oracle Health Check?

Does your boss blame you for an Oracle performance problem? 
Need to prove that your database is properly optimized?

BC Oracle performance guru's can quickly verify every aspect of your Oracle database and provide a complete certification that your database is fully optimized.

Burleson Oracle consulting & training



 

 

WISE Oracle monitoring software
 

 

Oracle forum for DBA 

 

Rampant TechPress Oracle book publisher

image 

  

 

E-mail us for BC Oracle support:   

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

Oracle® is the registered trademark of Oracle Corporation.