Unix Technical Forum

Long Transaction

This is a discussion on Long Transaction within the Informix forums, part of the Database Server Software category; --> Version: IDS 10 How can I track "tx" in following message: "Aborting Long Transaction: tx 0xc0000001f4b64938". Is "0xc0000001f4b64938" the ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 05:31 PM
mohitanchlia@gmail.com
 
Posts: n/a
Default Long Transaction

Version: IDS 10

How can I track "tx" in following message: "Aborting Long Transaction:
tx 0xc0000001f4b64938". Is "0xc0000001f4b64938" the user address that
comes in onstat -u ? I am trying to track which process caused the
long transaction. I have a script that runs every 15 mts that captures
onstat -u, onstat -g ath and onstat -g ses. May be I need to increase
the frequency.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 05:31 PM
Gustavo Castro
 
Posts: n/a
Default Re: Long Transaction

Hi,

0xc0000001f4b64938 is the address of the transaction you can get the transaction from :


onstat -x | grep c0000001f4b64938

The third column can be used to get the userthread:

onstat -u | grep <third column from onstat -x>

the third column here gives you the session ID

onstat -g ses <session ID> gives you all the information.

It is likely that by the time you run all this, the transaction will not exist anymore. So you can use the $INFORMIXDIR/etc/alarmprogram.sh to be notified by mail with all this information (Long transaction is event number 22).

Regards

gustavo




mohitanchlia@gmail.com wrote:
> Version: IDS 10
>
> How can I track "tx" in following message: "Aborting Long Transaction:
> tx 0xc0000001f4b64938". Is "0xc0000001f4b64938" the user address that
> comes in onstat -u ? I am trying to track which process caused the
> long transaction. I have a script that runs every 15 mts that captures
> onstat -u, onstat -g ath and onstat -g ses. May be I need to increase
> the frequency.
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com