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
 

 

 

 

 

The Publish/Subscribe Model for Oracle Replication

Oracle Tips by Burleson Consulting

The Publish/Subscribe Model for Oracle Replication is a more flexible method for replication than was the Oracle7 snapshot replication.

Oracle advanced queuing has initiated a new replication model dubbed "publish/subscribe" that differ from the traditional replication model a very important way.

Replication Independence

The sender of the replicated data (called the "publisher"), does not have to know anything about what's-up on the receiver-side (called the "subscriber").

With replication independence we no longer have to complex feed and verify procedures and the dbms_aq package allows some interesting replication functions:

listen Procedure

The new dbms_aq.listen procedure allows you to "listen" for incoming messages (rows), just as-if you were the registered subscriber.  The listen procedure has a newer input parm method, agent_list) which is a Oracle abstract data type (ADT):

agent_list IN AQ$_AGENT_LIST_T,
wait IN BINARY_INTEGER DEFAULT DBMS_AQ.FOREVER,
agent OUT SYS.AQ$_AGENT);

According to Steve Feuerstein, the agent_list input "is an index-by table defined in DBMS_AQ as follows:

TYPE
   DBMS_AQ.AQ$_AGENT_LIST_T
IS TABLE of
   AQ$_AGENT
INDEXED BY BINARY_INTEGER;
"

Also, because agent_list is a "index-by" PL/SQL internal array table, calling the listen procedure requires some up-front coding. From Steve Feuerstein's great book we see an example invocation of dbms_aq.listen:

DBMS_AQ.LISTEN (aqlisten.tell_us, 0, tell_me);

Also see the related procedure dbms_alert.waitany procedure. 

If you want to understand the internals of Oracle replications, I recommend these tight-focus reference books:

Also see:

If you like Oracle tuning, you may enjoy my new book "Oracle Tuning: The Definitive Reference", over 900 pages of my favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

  
 

 
 
 
 
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.