Re: Postgres locking up?

Поиск
Список
Период
Сортировка
От Robert Becker Cope
Тема Re: Postgres locking up?
Дата
Msg-id OF7BFE9B02.F9B5036D-ON862571F9.0004ECA0@bytestacker.com
обсуждение исходный текст
Ответ на Postgres locking up?  (Brian Hurt <bhurt@janestcapital.com>)
Список pgsql-performance
Brian Hurt <bhurt@janestcapital.com> wrote:

> I'm experiencing a problem with our postgres database. Queries that
> normally take seconds suddenly start taking hours, if they complete at
> all.

Do you have any long running transactions? I have noticed that with Postgres
8.1.x, a long running transaction combined with other transactions over a long
enough time period can very predictably lead to this type of behavior

One simple way to see if you have any long running transactions is to look for
PIDs that are "idle in transaction" for long periods of time.

robert


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: cont. how to optimize postgres 8.1
Следующее
От: "Nimesh Satam"
Дата:
Сообщение: Table not getting vaccumed.