Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Using a Trigger to partition your processing

Using a Trigger to partition your processing

From: GHouck <hksys_at_teleport.com>
Date: Mon, 12 Feb 2001 23:24:27 -0800
Message-ID: <3A88E12B.58F@teleport.com>

During a large invoicing run, updates are made to an invoicing table within a Pro*C program; however, the invoicing table has an insert trigger on it which causes updates to be made to a separate table. This program takes several hours to execute, so we are looking at ways to optimize it.

My question is: is there an advantage to 'encapsulating' some of the update processing (to the second table) within the trigger as described above, or are there inefficiencies or drawbacks to doing it this way? The updates to the 2nd table could have just as easily been written into the Pro*C module in the appropriate place.

Thanks,

Geoff Houck
systems hk
hksys_at_teleport.com
http://www.teleport.com/~hksys Received on Tue Feb 13 2001 - 01:24:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US