 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
weaton20
Joined: 18 May 2007 Posts: 2 Country: United States |
|
How many triggers |
|
If I use DBAudit to audit changes in a DB2 database, does it add a trigger for each column being audited, or is there a single trigger containing all audited columns?
|
|
Fri May 18, 2007 8:46 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
If you use choose to use system auditing to monitor change events (user activity in the database), it doesn't create any triggers - triggers are not used for that type of auditing
If you need to capture actual changes for SOX compliance (or similar) and store audit trail of changed data then it creates a single trigger for all columns for each operation type - 1 trigger for all inserts, 1 trigger for all deletes and 1 trigger for all updates.
Now when I said all columns I meant the default option. You can choose to audit only certain columns and/or setup column change filters that trigger the auditing, for example, only if SSN and name columns change.
|
|
Fri May 18, 2007 9:52 am |
|
 |
weaton20
Joined: 18 May 2007 Posts: 2 Country: United States |
|
|
|
Capturing actual changes, so the second approach.
Thanks, that answers my question.
|
|
Fri May 18, 2007 9:55 am |
|
 |
|
|
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
|
|
|