SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Overhead for triggers

 
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools View previous topic
View next topic
Overhead for triggers
Author Message
Mike Larkin



Joined: 01 Nov 2004
Posts: 1

Post Overhead for triggers Reply with quote

We have a P.O. sitting on the Veeps desk for Db Audit, but he is
having second thoughts, and wants to be assured that the
audit triggers will not impact performance on our
DSS/Warehouse database. We will not be auditing the nightly
data loads, only a small number of updates and deletes
during the non-load hours.

I have tried to assure him that a low-oltp environment like
this one will not suffer because of such audit triggers,
but he wants to have some proof. Aside from any little
test we can rig up on our test box, do any of you know
of any white papers on the overhead with audit triggers?
Has anyone tested this?


Mon Nov 01, 2004 4:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Re: Overhead for triggers Reply with quote

Mike, you are correct, the performance should be affected much. If you are still worried here are a number of things you can do to make it faster.

A. If you got the most recent version of DB Audit you can set an audit filter by user. This way only certain users can be audited and the load process can be excluded from auditing on that level. If you don't have the most recent version you can download it now from here http://www.softtreetech.com/dbaudit/index.htm

B. If the performance is affected more than you want you can always modify these triggers and add an "IF" like to ignore the auditing on a time-basis. I don't know which database you have, but the idea is to do something like
IF system time between 1:00 AM and 5:00 AM THEN RETURN

C. You can do a similar "IF" thing for a specific "load" application. IF application name is ... THEN RETURN;

D. You can probably modify your load process and have it disable audit triggers when it starts and then re-enable triggers after it ends. In this case you don't need to touch code of existing triggers.

: We have a P.O. sitting on the Veeps desk for Db Audit, but he is
: having second thoughts, and wants to be assured that the
: audit triggers will not impact performance on our
: DSS/Warehouse database. We will not be auditing the nightly
: data loads, only a small number of updates and deletes
: during the non-load hours.

: I have tried to assure him that a low-oltp environment like
: this one will not suffer because of such audit triggers,
: but he wants to have some proof. Aside from any little
: test we can rig up on our test box, do any of you know
: of any white papers on the overhead with audit triggers?
: Has anyone tested this?

Mon Nov 01, 2004 5:46 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Re: Overhead for triggers Reply with quote

Oops, It was meant to say "should NOT be affected much"

: Mike, you are correct, the performance should be affected much. If you are
: still worried here are a number of things you can do to make it faster.

: A. If you got the most recent version of DB Audit you can set an audit filter
: by user. This way only certain users can be audited and the load process
: can be excluded from auditing on that level. If you don't have the most
: recent version you can download it now from here
: http://www.softtreetech.com/dbaudit/index.htm

: B. If the performance is affected more than you want you can always modify
: these triggers and add an "IF" like to ignore the auditing on a
: time-basis. I don't know which database you have, but the idea is to do
: something like
: IF system time between 1:00 AM and 5:00 AM THEN RETURN

: C. You can do a similar "IF" thing for a specific "load"
: application. IF application name is ... THEN RETURN;

: D. You can probably modify your load process and have it disable audit
: triggers when it starts and then re-enable triggers after it ends. In this
: case you don't need to touch code of existing triggers.

Mon Nov 01, 2004 10:47 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » DB Audit, DB Mail, DB Tools All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.