Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
  Phone
  252-431-0050
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

    Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

Oracle Streams
Chapter 4 - Capture and Propagate Configuration

Creating Queues and Queue tables

SELECT q.OWNER, q.NAME, t.QUEUE_TABLE, q.USER_COMMENT
 FROM DBA_QUEUES q, DBA_QUEUE_TABLES t
 SEE CODE DEPOT FOR FULL SCRIPT
 q.QUEUE_TABLE = t.QUEUE_TABLE AND
 q.OWNER = t.OWNER
/

A buffered queue consists of following two storage areas:

  • System Global Area (SGA) memory associated with a SYS.AnyData queue that contains only captured events
     

  • Part of a queue table for a SYS.AnyData queue that stores captured events that have spilled from memory

A buffered queue helps to optimize the capture of events by buffering them in the SGA instead of always storing them in a queue table. This buffering of captured events occurs at both the source database and the destination database. Captured events are always stored in a buffered queue, but user-enqueued LCR events and user-enqueued non-LCR events are always stored in queue tables rather than in buffered queues.

To determine whether there are captured events in a buffered queue, the v$buffered_queues and v$buffered_subscribers dynamic performance views can be queried. The latter view shows the Streams clients who subscribe to this queue to receive the messages. Sometimes it is possible that more than one destination database will receive the captured events. In other words, there exists more than one subscriber to the queues messages.


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

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

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


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks