Re: virtualidx exclusive lock

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: virtualidx exclusive lock
Дата
Msg-id 4AF858D5.3090602@hogranch.com
обсуждение исходный текст
Ответ на virtualidx exclusive lock  (Uwe Schroeder <uwe@oss4u.com>)
Список pgsql-general
Uwe Schroeder wrote:
> I've googled, but there's 0 hits.
>
> I have an issue with a ton of "idle in transaction" backends.
> What I noticed is when I look at pg_locks, pretty much all of the processes being idle in transaction have an
exclusivelock of locktype "virtualidx 
>


"Idle in Transaction" occurs when a client has issued a BEGIN;  and is
then just sitting there.

We had this problem extensively with our Java code some years back when
the PostgreSQL JDBC module was issuing a BEGIN; right after a COMMIT or
ROLLBACK when not in autocommit mode.  An updated version of JDBC
postponed this automatic BEGIN until the first command was issued.
Since we had some connections which would sit idle for hours, this would
prevent VACUUM from cleaning anything newer than the oldest pending
transaction.

.





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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: I can't seem to put the right combination of magic into the pg_hba and pg_ident files.
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Not possible to create 64 bit windows clients ?