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

Transactional Queue

When a queue is created using the set_up_queue procedure of the dbms_streams_adm package, it creates a transactional queue by default. With captured events, the distinction of transactional and non-transactional is not particularly relevant because the Apply process preserves the original transaction order.

Enqueue and Dequeue

Enqueue consists of inputting or placing something into a queue. Enqueues can be accomplished in the following ways:

  • The first method of enqueue is through a Capture process. In this method, the Capture process enqueues captured changes in the form of events. Those events contain Logical Change Records (LCR). These events are referred to as captured events. This is because the basic origin of the event is a typically a Capture process. The Capture process is not user written program or application. It is an Oracle background process.
     

  • The second method of enqueuing events is through the use of a user written application. A user application typically constructs an event in the form of an LCR record.  The user application will then explicitly enqueue the LCR records into a source queue. Events placed into the queue in this way are called user-enqueued events.

The difference between capture events and user-enqueued events is important because various Streams processes can be configured in different ways based on the method used to enqueue the information.

Dequeue consists of consuming or sending messages or events out of a queue. Events can be dequeued by an Apply process or a user application.


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.