Re: virtualidx exclusive lock

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: virtualidx exclusive lock
Дата
Msg-id 407d949e0911090336h273fcf0anff6d7067aa233672@mail.gmail.com
обсуждение исходный текст
Ответ на virtualidx exclusive lock  (Uwe Schroeder <uwe@oss4u.com>)
Список pgsql-general
On Mon, Nov 9, 2009 at 7:38 AM, Uwe Schroeder <uwe@oss4u.com> wrote:
> 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". 

It's "virtualxid" as in "virtual transaction id" and hopefully more
than pretty much all have a lock of this type -- *all* transactions
start with a lock on their own transaction id and hold it until they
finish. That's how other transactions wait for a transaction to
finish, by attempting to get a lock on the transaction id of the
transaction they're waiting on.


--
greg

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

Предыдущее
От: Arjen Nienhuis
Дата:
Сообщение: Re: Donwload location for PostgreSQL version 8.2.7
Следующее
От: Sam Jas
Дата:
Сообщение: Re: Donwload location for PostgreSQL version 8.2.7