Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

Privacy Policy

Blog

Golf Travel
 

 

 

 

 

Oracle dbms_aqadm

Oracle Tips by Burleson Consulting

 

 

The dbms_aqadm package:

Advanced Queuing - A software scheduling package for advanced scheduling the serialization using the
dbms_aqadm package.

Using the purge API provided, you can perform various kinds of purge operations on both single-consumer
and multi-consumer queue tables. dbms_aqadm.purge_queue_table can be used for purging persistent queues.

Here is an example showing the purge operation using dbms_aqadm:

BEGIN
DBMS_AQADM.PURGE_QUEUE_TABLE (
queue_table     => 'STRMADMIN.STREAMS_QUEUE',
purge_condition => 'consumer_name=''SALES_APPLY'' ',
block => FALSE);
END;

If a propagation job is disabled for any specific reason and subsequently it needs to be enabled, the
enable_propagation_schedule
procedure in the dbms_aqadm package can be used to enable it.

As an example let's look at enable_propagation_schedule used with dbms_aqadm. To enable a propagation
job that propagates events from the NY4_QUEUE source queue using the DNYOIP20.world database link,
the following SQL block should be run:

BEGIN
DBMS_AQADM.ENABLE_PROPAGATION_SCHEDULE(
queue_name => 'strmadm.NY4_QUEUE',
destination => 'DNYOIP20.world');
END;
/

To disable the propagation job that stops the event propagation, use the following SQL block containing
dbms_aqadm
:

BEGIN
DBMS_AQADM.DISABLE_PROPAGATION_SCHEDULE(
queue_name => 'strmadm.NY4_QUEUE',
destination => 'DNYOIP20.world');
END;
/

 
Advanced Oracle Utilities: The Definitive Reference by Rampant TechPress is written by top Oracle database experts (Bert Scalzo,  Donald Burleson, and Steve Callan). 

Buy direct from the publisher and save 30%!


 

 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2010 by Burleson Enterprises, Inc.

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.