Re: long running transactions

От: Tobias Brox
Тема: Re: long running transactions
Дата: ,
Msg-id: 20061010163913.GA8097@oppetid.no
(см: обсуждение, исходный текст)
Ответ на: Re: long running transactions  (Tom Lane)
Ответы: Re: long running transactions  (Tobias Brox)
Список: pgsql-performance

Скрыть дерево обсуждения

long running transactions  (Tobias Brox, )
 Re: long running transactions  (Tom Lane, )
  Re: long running transactions  (Tobias Brox, )
   Re: long running transactions  (Tobias Brox, )
    Re: long running transactions  (Tom Lane, )
     Re: long running transactions  (Tobias Brox, )
      Re: long running transactions  (Tom Lane, )
       Re: long running transactions  (Tobias Brox, )
        Re: long running transactions  (Tom Lane, )
         Re: long running transactions  (Tobias Brox, )
          Re: long running transactions  (Tom Lane, )
           Re: long running transactions  (Tobias Brox, )
            Re: long running transactions  (Tom Lane, )
             Re: long running transactions  (Tobias Brox, )

[Tom Lane - Tue at 12:23:40PM -0400]
> Look in pg_locks to see the lowest-numbered transaction ID --- each
> transaction will be holding exclusive lock on its own XID.  You can
> correlate that back to pg_stat_activity via the PID.

Thanks a lot for the quick reply - I've already identified one
long-running transaction.

(I'm not allowed to order by xid, and not allowed to cast it to
anything, how come?)



В списке pgsql-performance по дате сообщения:

От: Brendan Curran
Дата:
Сообщение: Re: Scrub one large table against another
От: Tom Lane
Дата:
Сообщение: Re: Scrub one large table against another