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

dba_apply_dml_handlers

SELECT APPLY_NAME, PRECOMMIT_HANDLER,
DECODE(APPLY_CAPTURED, 'YES', 'Captured', 'NO', 'User-Enqueued')
APPLY_CAPTURED
FROM DBA_APPLY
WHERE PRECOMMIT_HANDLER IS NOT NULL
/

dba_apply_enqueue

This view displays information about the Apply enqueue actions for all the rules in the database.

dba_apply_error

This view displays information about error transactions generated by the Apply processes in the database. This is a very useful view to keep track of the errors generated by the Apply process. This view should be queried as often as possible to see if there are any errors. In case error rows show up in this view, the DBA should immediately begin further investigation of the errors and rectify them.

Some useful columns include:

  • LOCAL_TRANSACTION_ID shows the local transaction ID for the error transaction whereas the SOURCE_TRANSACTION_ID shows original transaction ID at the source database.
     

  • MESSAGE_COUNT is useful as it shows the total number of events inside the error transaction.
     

  • SOURCE_COMMIT_SCN displays the original commit SCN for the transaction at the source database.

As an example, the following SQL statement shows details of Apply Error Transactions:


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.