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 3 - Streams Replication

How Tags are used in Streams

The tag value for the current session can be displayed by querying the dual view:

SELECT DBMS_STREAMS.GET_TAG FROM DUAL
/

Since an Apply process is typically an SQL session that makes the transactional changes on the destination database, it does generate the redo entries. Such redo entries will have Non-NULL tags in order to avoid further capture. By default, the non-NULL value is system dependent. However, if the goal is to create a specific non-NULL tag value, the alter_apply procedure of the dbms_apply_adm procedure can be used to set up desired non-NULL tag value.

In another situation, the default tag for all redo entries generated by an Apply process can also be set when the Apply process is created. In this case, the create_apply procedure in the dbms_apply_adm package will be used.

For example, to set the value of the tags generated in the redo log by an existing apply process named nydata1_apply to the hexadecimal value of 6, run the following SQL block:

BEGIN
DBMS_APPLY_ADM.ALTER_APPLY(
apply_name => 'nydata1_apply', apply_tag => HEXTORAW(‘6’));
END;
/


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: