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

Steams data flow is totally integrated with the queues. Both the source database and destination database need to have queues to manage events. Events are stored or staged in a queue. These events may be captured events or user-enqueued events. The Capture process enqueues events into a SYS.AnyData queue. A SYS.AnyData queue can stage events of different types.  The queue and its associated queue table can be created by using the procedure set_up_queue of the dbms_streams_adm package.

Figure 4.3 Procedure for creating the queue

 

As shown in Figure 4.3, the queue name and queue table name must be supplied as arguments. In order to specify the storage characteristic features such as the tablespace, the storage_clause argument can be used.

The following SQL statement can be used to view the queues:

set linesize 132

COLUMN OWNER                   HEADING 'Owner'    FORMAT A14
COLUMN NAME                    HEADING 'Queue Name' FORMAT A30
COLUMN QUEUE_TABLE             HEADING 'Queue Table' FORMAT A25
COLUMN USER_COMMENT            HEADING 'Comment' FORMAT A25


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