| От | Rodrigo Gonzalez |
|---|---|
| Тема | Re: IDLE queries taking up space |
| Дата | |
| Msg-id | 4E5D27E5.7060306@estrads.com.ar обсуждение |
| Ответ на | Re: IDLE queries taking up space (Scott Ribe <scott_ribe@elevated-dev.com>) |
| Список | pgsql-general |
On 08/30/2011 02:13 PM, Scott Ribe wrote: > On Aug 30, 2011, at 10:03 AM, JD Wong wrote: > >> How can I set postgres to qutomatically close connections that have finished their queries and now sit idle? AFAIK you can't, you should check |pg_terminate_backend function and see if it is useful for you | > They haven't finished their queries. They've opened transactions, and then are sitting there doing nothing. In other words,this is a bug in your clients, and no, you really would not want PG automatically terminating connections mid-transactionjust because it thought the client was taking too long to get to the next step. <IDLE> in transaction is what you mean... <IDLE> are clients connected but not running any query >
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера