| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: Idle in transaction help |
| Дата | |
| Msg-id | 20090711153935.GA23823@svana.org обсуждение |
| Ответ на | Re: Idle in transaction help ("Scot Kreienkamp" <SKreien@la-z-boy.com>) |
| Список | pgsql-general |
On Fri, Jul 10, 2009 at 08:40:28PM -0400, Scot Kreienkamp wrote: > Anyway, I'm trying to attack it from the database side out since I am > not a programmer and can't help with that part. I can do simple CGIs > with bash, but I don't know Java or C or even Perl yet for that matter. > Since you guys are the experts, I'm looking for any way to attack this > problem from the database side. The tips I've gotten about the JDBC > driver and commits are helpful in that it gives our programmers things > to watch out for that we didn't realize, and I'm open to any suggestions > from the list about how I can help attack this. One easy approach, get the database to log all queries, complete with PID, then when you find an indle-in-transaction, go to the logs to find the last query executed... Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Please line up in a tree and maintain the heap invariant while > boarding. Thank you for flying nlogn airlines.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера