Re: Question regarding DEALLOCATE pdo_stmt_00000001

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: Question regarding DEALLOCATE pdo_stmt_00000001
Дата
Msg-id 1400716205296-5804672.post@n5.nabble.com
обсуждение исходный текст
Ответ на Question regarding DEALLOCATE pdo_stmt_00000001  (Laurentius Purba <lpurba@sproutloud.com>)
Ответы Re: Question regarding DEALLOCATE pdo_stmt_00000001
Список pgsql-general
Laurentius Purba wrote
> Hello all,
>
> I've been seeing lots of this processes in my database DEALLOCATE
> pdo_stmt_00000001 with idle state.
>
> Executing *select * from pg_stat_activity where query like
> 'DEALLOCATE%';*I can see some of them are idle for +/- 30 minutes, and
> there is one idle
> for 4 days.
>
> When I checked one of the pid by executing *select * from pg_stat_activity
> where pid = 63882;* (for example), after few minutes (can be longer), it
> became *DISCARD ALL* and after that it was removed from pg_stat_activity.
>
> I was wondering if this is the normal behavior, since some of them are
> idle
> for +/- 30 minutes.
>
> I am using PostgreSQL 9.3.2 and PgBouncer.
>
> Any help is appreciated.
>
> Regards,
>
> -Laurentius

Yes.

9.3 - On an idle connection the value of query is the last executed query -
which in this case is some form session cleanup command before returning the
connection to the pool.

David J.





--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Question-regarding-DEALLOCATE-pdo-stmt-00000001-tp5804667p5804672.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


В списке pgsql-general по дате отправления:

Предыдущее
От: AI Rumman
Дата:
Сообщение: Re: Lock during insert statement
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Lock during insert statement