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 2 - Streams Components and Processes

Buffered Queues

Another group of events that use the queue tables includes the apply error transactions. When the Apply process fails to apply transactions, they are immediately moved into the error queue and are stored into the associated queue table. This keeps the buffers free for the current events that are being processed. This makes sense in terms of efficiency as the DBA may chose to attend to the error transactions at later time while keeping the Apply process moving forward.

What is SYS.AnyData?

Events of different data types can be staged into a SYS.AnyData queue.  The SYS.AnyData type is defined at the database level. Almost any type of payload can be wrapped in a SYS.AnyData queue. To do this, the convertdata_type static functions of the SYS.AnyData type can be used.  In this case, data type is the type of object to wrap. These functions take the object as input and return a SYS.AnyData object. Since the database table columns routinely have different data types in their definition, the Streams processes deal the columns a uniform data type during the data flow. At the end of Streams flow, they are converted back to the original data type.  The transmission of a single, uniform data type facilitates the smooth, consistent, and efficient exchange of data.

Users and applications may enqueue events into a SYS.AnyData queue or into a typed queue. Remember, a typed queue can stage events of one specific data type only.


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.