dbTalk Databases Forums  

Long Transaction

comp.databases.informix comp.databases.informix


Discuss Long Transaction in the comp.databases.informix forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
mohitanchlia@gmail.com
 
Posts: n/a

Default Long Transaction - 12-30-2007 , 05:18 PM






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.

Reply With Quote
  #2  
Old   
Juan Pablo
 
Posts: n/a

Default RE: Long Transaction - 12-30-2007 , 05:35 PM






Execute:
$ onstat -a

and send

bye



<span style="color:rgb(0, 51, 102);font-weight:bold">The freedom of Linux
.... The power of Informix</span>





Quote:
From: mohitanchlia (AT) gmail (DOT) com
To: informix-list (AT) iiug (DOT) org
Subject: Long Transaction
Date: Sun, 30 Dec 2007 14:18:24 -0800 (PST)

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 (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list
__________________________________________________ _______________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/



Reply With Quote
  #3  
Old   
Gustavo Castro
 
Posts: n/a

Default Re: Long Transaction - 12-30-2007 , 06:13 PM



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 (AT) gmail (DOT) com wrote:
Quote:
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 (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list






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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.