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 > Informix > How to know transactions performed by a user

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-03-04, 01:31
pathri pathri is offline
Registered User
 
Join Date: Apr 2004
Location: zxczxczxc
Posts: 52
How to know transactions performed by a user

Hi,
Is there any way to know what are all the tranasactions performed by a users.


bye.
__________________
zxczxczc
Reply With Quote
  #2 (permalink)  
Old 04-03-04, 12:04
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Current transactions can be found with 'onstat -x', you can search for 'old' specific transactions/users with the onlog utility.

Greetz,

Rob Prop
Reply With Quote
  #3 (permalink)  
Old 04-06-04, 03:10
pathri pathri is offline
Registered User
 
Join Date: Apr 2004
Location: zxczxczxc
Posts: 52
How to find trans

Hi,

If i do a insert into table test; can i trace out this statment from the logical log and know whether the insert is commited or not.


there is a utility in oracle called LOGMINER, which shows all the queries made by the user. Is there any such utility in informix.

bye
__________________
zxczxczc
Reply With Quote
  #4 (permalink)  
Old 04-14-04, 17:02
tmullins tmullins is offline
Registered User
 
Join Date: Aug 2003
Posts: 68
onlog is the utility - but it can be very hard to read.
Reply With Quote
  #5 (permalink)  
Old 04-14-04, 17:24
dnix dnix is offline
Registered User
 
Join Date: Sep 2002
Posts: 51
Re: How to know transactions performed by a user

You could try using the trusted facility stuff. Its Informix's audit mechanism and you would have to turn it on and do some (pretty simple) configuration to get it going.

Might be easier than trying to read the l-logs unless you really need to get that deep.

Just checkout the onmonitor documentation.
__________________
When in doubt just ask your self,
-WWSBD?-
(what would Sponge Bob do?)
Reply With Quote
  #6 (permalink)  
Old 04-15-04, 04:56
Audra Audra is offline
Registered User
 
Join Date: Sep 2003
Location: Third rock from the sun
Posts: 15
Re: How to know transactions performed by a user

Quote:
Originally posted by pathri
Hi,
Is there any way to know what are all the tranasactions performed by a users.


bye.
In IDS, I normally do this

onstat -g sql


then look at certain session id.. then perform this

onstat -g ses <session id>
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