For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 5 -
Apply Process Configuration

get_error_message Function

The get_error_message procedure is very useful. This function returns the message payload from the error queue for the specified message number and transaction identifier. The message is an event which may be a LCR or a non-LCR event. With the help of this procedure, the DBA will be able to find out the inner details such as the source database name, old and new values, etc. Once the details of the payload have been read, the reason for failure can be established.

Syntax:

DBMS_APPLY_ADM.GET_ERROR_MESSAGE(
message_number                     IN NUMBER,
local_transaction_id      IN VARCHAR2,
destination_queue_name             OUT VARCHAR2,
execute                                     OUT BOOLEAN)
RETURN SYS.AnyData;

message_number is the identification number of the message of the Apply process. This number identifies the position of the message in the transaction. This number can be obtained from the dba_apply_error data dictionary view. local_transaction_id is the identifier of the error transaction.


The above text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


For more details and scripts, see my new book " Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

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

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

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

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC: