If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > audit question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-08-10, 15:42
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
audit question

DB2 v9.5 ESE on AIX v6.1

We need to trace when certain user is accessing tables (select, update, delete) in the database.
He can do it via application (C++ code) or command line and we want
to trace only his command line statements. Is there a way to audit only those?

another question - execute audit records in execute.del file do not really indicate what
sql statement it is but I can see actual statements in auditlobs file. But only statements.
The rest of the record is cripted:

^Aselect count(*) from ak_datawarehouseGEN_CMPL^A^P^Aø^A^D^A -8^B^D^A(^C^D^A0^D^A^A8^C3^E^A^A@^C3^A^F^A
^AH^C3^G^A^AP^C3^Ð^H^A^AX^C3^Ð ^E^A`^C3^Ð
^H^Ah^C3^K^K^Ap^C3^P
^A^À^C3^S^D^A^Ð^L^H^A^Ø^C3G^È^MP^A*^C3^O^

what is the format of this file and how do I work with it? could not find it in IBM documentation.
thanks in advance
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On