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 -> Re: Qualitative method for performance effect of Oracle triggers

Re: Qualitative method for performance effect of Oracle triggers

From: Hans Forbrich <forbrich_at_yahoo.net>
Date: Sun, 16 Nov 2003 02:08:05 GMT
Message-ID: <3FB6DC25.64057847@yahoo.net>


Robert Roh wrote:
>
> We are studying the use of triggers on a system that expects 100,000
> records over a 10 hours period.
>
> Is there any way to measure the performance effect in a qualitative
> formulaic way as opposed to knowing that there will be some
> performance effect which you won't know until you test it
>

There are several (actually a ridiculously large number) of factors that might impact the performance of a specific trigger. To name a few:

I wouldn't even bother trying to estimate, 'cause I couldn't get enough granularity on the possible factors. As Daniel says, use the DBMS_PROFILER At 100,000 rows/10 hours (10,000 / hour = 170 / minute or 2-3 per second ) I wouldn't be too concerned unless the underlying system is severly undersized in the first place. (Actually I wouldnt be concerned until about 250 rows/second and beyond that, just be watchful and prepared to monitor and possibly tune like bejasis.)

There are other, far worse, concerns. Like archiving, B&R, maintenance windows, disk layouts (eg: striping) etc.

Of course, idiocy like putting application code (including the code for this one, or multiple instances, on the same machine should be avoided - simply can't be tuned properly and conflicts are outside of direct control.

/Hans Received on Sat Nov 15 2003 - 20:08:05 CST

Original text of this message

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