Re: PG connections going to 'waiting'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG connections going to 'waiting'
Дата
Msg-id 6152.1252178695@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PG connections going to 'waiting'  (Alan McKay <alan.mckay@gmail.com>)
Ответы Re: PG connections going to 'waiting'  (Chris Barnes <compuguruchrisbarnes@hotmail.com>)
Список pgsql-general
Alan McKay <alan.mckay@gmail.com> writes:
>> pg_locks? �Somebody taking exclusive lock on a widely-used table might
>> explain that.

> OK, in theory we could do the following, no?

> Use our PITR logs to restore a tertiary system to the point when we
> were having the problem (we have a pretty wide 2 or 3 hour window to
> hit), then query the pg_locks table on that system?

No, that wouldn't tell you a single thing.  pg_locks is a dynamic view
of current system state.  You would have to look at it while having
the problem.

            regards, tom lane

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

Предыдущее
От: Alan McKay
Дата:
Сообщение: Re: PG connections going to 'waiting'
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: PG connections going to 'waiting'