fighting ' in transaction'

Поиск
Список
Период
Сортировка
От Vladimir Rusinov
Тема fighting ' in transaction'
Дата
Msg-id f6fdfb550911030331md1d6622kc0bc21e2fcb36c11@mail.gmail.com
обсуждение исходный текст
Ответы Re: fighting ' in transaction'  (Lewis Kapell <lkapell@setonhome.org>)
Список pgsql-admin
Hi!

We are having a lot of '<IDLE> in transaction' processes in production database. This does not seems to be big problem now, since they are not taking any big locks. But I'm aware that sometime it can become a problem. Currently I'm just killing all processes that are in 'idle in transaction' for more than 1 minute.

Our application is quite big and complex, so it's not easy to find peace of code where it happens. How can I get transaction history for processes that idle in transaction to send it to developers so they can find problem in code.

We are running postgresql 8.3 with query logging off (turning it on causes performance disaster). Application is run under jboss and AFAIK uses hibernate.

--
Vladimir Rusinov
http://greenmice.info/

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

Предыдущее
От: Shruthi A
Дата:
Сообщение: Re: Need help in enabling remote connection
Следующее
От: Lewis Kapell
Дата:
Сообщение: Re: fighting ' in transaction'