Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
  Phone
  252-431-0050
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

    Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

Oracle Streams
Chapter 6 -
Apply Handlers

Delete DML Operation

In this example, a Delete DML handler that manipulates the incoming LCR event will be created at the destination. Whenever a delete transaction arrives to the destination queue, the LCR is modified to write to an alternate table with an additional column. The Apply process that dequeues the transaction is set up with a Delete DML handler.

Figure 6.4 Setting up of Delete DML Handler

 

Figure 6.4 shows all of the components involved in setting up a typical Delete DML handler.

Next, information will be presented on the DML delete handler setup methodology. The following are the assumptions:

Source Table                : ny4.allinsured1 at DNYTST10 database
Source DB Capture Proc            : NY4_CAPTURE
Destination Table    : ny4.allinsured1 at DNYOIP20 database
Alternate Table             : ny4.hist_deletes at DNYOIP20 database
Destination Apply Proc            : LN4_APPLY

In order to show the use of Delete DML handler, a stored procedure named NY4.WRITE_DEL_LCRS has been created, and the Delete DML handler has been set up. A new table named NY4.HIST_DELETES has been created at DNYOIP20.  This table is where the DML handler writes the details about the delete operation.

The following SQL statements show the creation and setting up of the Update DML handler:


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

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

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


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks