Re: fsutil ideas - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: fsutil ideas
Date
Msg-id 1140804774.5092.151.camel@home
Whole thread Raw
In response to Re: fsutil ideas  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: fsutil ideas
List pgsql-hackers
On Fri, 2006-02-24 at 12:48 -0500, Tom Lane wrote:
> Rod Taylor <pg@rbt.ca> writes:
> > I watch for table bloat but I haven't figured out a nice way of tracking
> > down the postgresql process with the oldest transaction running short of
> > patching PostgreSQL to report the XID for a connection in
> > pg_stat_activity.
> 
> I don't think you need a patch --- try joining with pg_locks.

Ugh.. pg_locks is the first think I look at to see if something is
blocked that shouldn't be. Don't know why I didn't think of using it for
the XID value.

Thanks.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: fsutil ideas
Next
From: Csaba Nagy
Date:
Subject: Re: fsutil ideas