| От | Marco Maccaferri |
|---|---|
| Тема | Re: Postgres partially hang after inactivity |
| Дата | |
| Msg-id | 4A030CAA.7080504@maccasoft.com обсуждение исходный текст |
| Ответ на | Re: Postgres partially hang after inactivity (Merlin Moncure <mmoncure@gmail.com>) |
| Список | pgsql-general |
On 06/05/2009 21:39 Merlin Moncure ha scritto: > probably, you had a transaction sitting around that is not closed (to > see: select * from pg_stat_activity). > > the alter table is waiting for that transaction to finish, but itself > blocks all _new_ transactions (alter table acquires a strong lock on > the table). Cancel the alter table query or the query that is > blocking your alter table. Again, check pg_stat_activity and > ungranted locks (select * from pg_locks where granted = false). By querying these tables I found that the connection pooling was not setup properly and that there were few unclosed sessions hanging around. Thank you for your help. Regards, Marco.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера