| От | Andreas Pflug |
|---|---|
| Тема | Re: transaction idle timeout in 7.4.5 and 8.0.0beta2 |
| Дата | |
| Msg-id | 414ED005.5070707@pse-consulting.de обсуждение исходный текст |
| Ответ на | Re: transaction idle timeout in 7.4.5 and 8.0.0beta2 (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-hackers |
Bruce Momjian wrote: > Interesting. So it times out a transaction to release its locks. Does > it time from the start of the transaction? I assume so. We do have > statment_timeout so maybe transaction_timeout would be the proper name. > Timing out on just the idle state seems strange to me. Timing out on the start of the transaction isn't a good idea; what about long running transactions? You'd have to set the timeout very high (lets say to have nightly imports) which would make the "idle in transaction and not responding any more" errors detected very late in online situations. So the timeout should start after each statement's completion. Regards, Andreas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера