Fetch Streams LCR payload

When a Streams apply process hits an error processing a transaction, the details of it are stored in the DBA_APPLY_ERROR table. 

The key columns to look out for apart from the ERROR_MESSAGE is the local_transaction_id, MESSAGE_COUNT and MESSAGE_NUMBER. The column MESSAGE_COUNT provides the total number of transaction contained in each LCR and the MESSAGE_NUMBER column indicate which one of those transactions failed.

Click on the link Fetch LCR Payload  to download the .sql file 

Executing the attached sql produces the DML output which Streams would have run has it not run into a issue. 

Note: This DML produced by the script is not suitable for LOB columns

Comments

Popular posts from this blog

Recover Standby database from ORA-00332: archived log is too small

Check Active Dataguard Replication Status

Top CPU consuming oracle sessions