Re: fsutil ideas

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: fsutil ideas
Дата
Msg-id 1140808617.3716.12.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: fsutil ideas  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-hackers
Ühel kenal päeval, R, 2006-02-24 kell 19:20, kirjutas Csaba Nagy:
> On Fri, 2006-02-24 at 19:12, Rod Taylor wrote:
> > 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.
> 
> But I'm afraid that a long running transaction with many short queries
> will not even show up in pg_stat_activity. 

It will show as "<IDLE> in transaction"

The harder part would be knowing how long the queri has been running in
wallclock time, not in transactions.

---------------
Hannu




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: fsutil ideas
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: how solve diff of API counstruct_md_array between