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


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

 

 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 7 -
Monitoring and Troubleshooting Oracle Streams

v$streams_apply_coordinator

The above SQL statements help to monitor the overall apply activity.

v$streams_apply_reader

This view displays information about each Apply reader. The Apply reader for an Apply process is a process which dequeues messages from the queue, computes message dependencies, builds transactions, and passes the transactions on to the Apply process coordinator in commit order for assignment to the Apply servers.

The following SQL statement shows full details about the Apply server reader processes. This SQL outputs a multi line format display to improve the readability of the details.

COL FROM_STREAMS_APPLY_READER format a60

select 'Session SID           : ' || SID || chr(10) ||
'APPLY Name            : ' || APPLY_NAME|| chr(10) ||
'Current State         : ' || STATE || chr(10) ||
'TOT MSGs Dequed       : ' || TOTAL_MESSAGES_DEQUEUED || chr(10) ||
'Time last msg received: ' || to_char(DEQUEUE_TIME, 'YY-MM-DD HH24:MI') 
|| chr(10) ||
'Last DeQued MSG  NUM  : ' || DEQUEUED_MESSAGE_NUMBER || chr(10) ||
'CRT-Time at SRCDB of Last MSG : ' ||
to_char(DEQUEUED_MESSAGE_CREATE_TIME, 'YY-MM-DD HH24:MI')||chr(10)|| 
'SGA Used so far       : ' || SGA_USED || chr(10) ||
'Last browse SCN       : ' || LAST_BROWSE_NUM || chr(10) ||
'Oldest SCN            : ' || OLDEST_SCN_NUM
FROM_STREAMS_APPLY_READER
from V$STREAMS_APPLY_READER
/


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 software 
 
 
 
 

Oracle performance tuning book

 

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

 

   

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

Oracle® is the registered trademark of Oracle Corporation.