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 > How to trace the database transactions?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-06, 01:34
Coolhard Coolhard is offline
Registered User
 
Join Date: Aug 2005
Posts: 24
How to trace the database transactions?

Dear All,

How to track the database transactions in log file?
If someone delete some records from the table,may I know how to check who delete this and when?How to trace it?
May I know we can trace or not?


Thanks,
Reply With Quote
  #2 (permalink)  
Old 12-06-06, 02:10
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
try using event monitor. See administration guide book for details.
Hope this helps,
Grofaty
Reply With Quote
  #3 (permalink)  
Old 12-06-06, 02:25
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
trace

I think audit will be the tool to use
Check infocenter for activate of audit and handling this output
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #4 (permalink)  
Old 12-11-06, 05:07
Coolhard Coolhard is offline
Registered User
 
Join Date: Aug 2005
Posts: 24
Hi grofaty,

May I know where can I get the event monitor?
Do u mean window event viewer?

Thanks.


Quote:
Originally Posted by grofaty
Hi,
try using event monitor. See administration guide book for details.
Hope this helps,
Grofaty
Reply With Quote
  #5 (permalink)  
Old 12-11-06, 07:28
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
event

event monitor is the db2 tool that will monitor some events
(as indicated by the name)
this tool will take snapshots (db2 get snapshot......) to gather specific information from db and clients
see online infocenter or db2 books about this tool / command
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #6 (permalink)  
Old 12-14-06, 03:31
Coolhard Coolhard is offline
Registered User
 
Join Date: Aug 2005
Posts: 24
OkThanks a lot for your info,guyprzytula.


Quote:
Originally Posted by guyprzytula
event monitor is the db2 tool that will monitor some events
(as indicated by the name)
this tool will take snapshots (db2 get snapshot......) to gather specific information from db and clients
see online infocenter or db2 books about this tool / command
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