RE: Potential Long transactions
- From: "Jack Parker" <jack.parker4@xxxxxxxxxxx>
- Date: Tue, 26 Feb 2008 07:54:04 -0500
Haven't looked at this thoroughly yet, but thought that I'd point out that
you can get $ONCONFIG values (like LTXHWM) directly out of sysmaster.
select * from sysmaster:sysconfig where cf_name like 'LTX%'
cheers
j.
Sane ego te vocavi. Forsitan capedictum tuum desit.
-----Original Message-----
From: informix-list-bounces@xxxxxxxx
[mailto:informix-list-bounces@xxxxxxxx]On Behalf Of Mohit
Sent: Monday, February 25, 2008 8:07 PM
To: informix-list@xxxxxxxx
Subject: Potential Long transactions
Version: IDS 10
I have written below query to find out those transactions that could
be potential long transactions. Assuming 50/60 is high water mark
values:
select s.txid,r.owner, r.sid, scb.pid
from systxptab s, sysrstcb r, sysscblst scb
where (loguniq-logbeg)/(select sh_maxlogs
from sysshmvals) > 40/100 { catch when it's
over 40% }
and logbeg > 0 { I saw lot of transactions owned by informix that
have logbeg as 0 }
and s.owner = r.address
and r.sid = scb.sid;
Does this query look correct ? I didn't know how to get LTXHWM value
from sysmaster to hard coded the values. Any suggestion or
improvement ?
_______________________________________________
Informix-list mailing list
Informix-list@xxxxxxxx
http://www.iiug.org/mailman/listinfo/informix-list
.
- Follow-Ups:
- Re: Potential Long transactions
- From: Mohit
- Re: Potential Long transactions
- References:
- Potential Long transactions
- From: Mohit
- Potential Long transactions
- Prev by Date: RE: how to ontape to disk
- Next by Date: Re: how to ontape to disk
- Previous by thread: Potential Long transactions
- Next by thread: Re: Potential Long transactions
- Index(es):
Relevant Pages
|