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

drop_apply Procedure

For example, to drop the Apply process named LN1_APPLY and remove all the rule sets and rules, the following statement can be used:

PROMPT dropping the Apply Process
BEGIN
DBMS_APPLY_ADM.DROP_APPLY(
 APPLY_NAME => 'LN_APPLY',
 drop_unused_rule_sets => true);
END;
/

The following section outlines how error transactions can be re-executed.

execute_all_errors Procedure

The execute_all_errors procedure re-executes the error transactions for the specified Apply process. The transactions are re-executed in commit SCN order. Error re-execution stops if an error is raised. In many situations, when the error condition arises, administrators analyze and rectify the problem. For example, rows are being inserted with a dependent foreign key. Since the row in the parent table is missing, there will be an integrity violation which results in errors. Once the row is made good in the parent table, the errors can be re-executed to insert the failed rows. The following is the syntax for the execute_all_errors procedure:


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: