| От | Jeffrey Tenny |
|---|---|
| Тема | Re: "Idle in Transaction" revisited. |
| Дата | |
| Msg-id | 414F822D.3020403@comcast.net обсуждение исходный текст |
| Ответ на | "Idle in Transaction" revisited. ("John R Pierce" <pierce@hogranch.com>) |
| Список | pgsql-jdbc |
> Trouble is, with JDBC as its currently implemented, the instant you > Commit() or Rollback(), JDBC starts a new transaction automatically, > since JDBC has no explicit Begin(). If that thread then goes > quiescent for an arbitrary period of time (perhaps waiting for more > messaging traffic, our apps are message driven factory floor > middleware things), this transaction remains open. Our > applications are characterized by bursts of frenetic activity > followed by long idle periods, quite unpredictably. I was under the impression that this was easily addressed by delaying the onset of the next transaction after commit/rollback until some actual statement activity began. (like a SELECT...)
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера