Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Home
Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients

 

Free Oracle Tips


 
HTML Text AOL

Free Oracle App Server Tips


 
HTML Text

Oracle support

Oracle training

Oracle tuning

Rednecks!

Remote Oracle

Custom Oracle Training

 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 7 -
Monitoring and Troubleshooting Oracle Streams

Capture to Dequeue Latency for an Event

SELECT APPLY_NAME, (APPLY_TIME-APPLIED_MESSAGE_CREATE_TIME) * 86400 "Latency in Seconds", APPLIED_MESSAGE_NUMBER
FROM DBA_APPLY_PROGRESS
/

Even though the above specified views are both dependable, the following differences between these two queries exist:

The Apply process should be enabled when the query is run on the v$streams_apply_coordinator view.  The Apply process can be either enabled or disabled when the query is run on the dba_apply_progress view.

The query on the v$streams_apply_coordinator view may show the latency for a more recent transaction than the query on the dba_apply_progress view.

Display Error Transaction Details

Even though a query of the dba_apply_error view provides the list of Apply errors, the event itself needs to be queried in order to fully understand the details of the event and error details. Without the full details, it may not possible to pinpoint the problem.

This section contains the PL/SQL code for three procedures that help inquire about the event details.  These procedures are not mutually exclusive.  They compliment each other in the search for event details.


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 book

 

 

Oracle performance tuning software

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

 

email BC:


Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.