Re: How are locks managed in PG?

Поиск
Список
Период
Сортировка
Искать
От
Thomas Kellerer
Тема
Re: How are locks managed in PG?
Дата
Msg-id
gig6l9$7t0$1@ger.gmane.org
Ответ на
Список
Дерево обсуждения
How are locks managed in PG? Thomas Kellerer <spam_eater@gmx.net>
Re: How are locks managed in PG? "Allan Kamau" <kamauallan@gmail.com>
Re: How are locks managed in PG? Thomas Kellerer <spam_eater@gmx.net>
Re: How are locks managed in PG? Alvaro Herrera <alvherre@commandprompt.com>
Re: How are locks managed in PG? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How are locks managed in PG? David Fetter <david@fetter.org>
Re: How are locks managed in PG? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How are locks managed in PG? "Scott Marlowe" <scott.marlowe@gmail.com>
Re: How are locks managed in PG? Alvaro Herrera <alvherre@commandprompt.com>
Re: How are locks managed in PG? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How are locks managed in PG? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How are locks managed in PG? Bruce Momjian <bruce@momjian.us>
Re: How are locks managed in PG? "Scott Marlowe" <scott.marlowe@gmail.com>
Re: How are locks managed in PG? "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: How are locks managed in PG? Geoffrey <lists@serioustechnology.com>
Re: How are locks managed in PG? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How are locks managed in PG? Geoffrey <lists@serioustechnology.com>
Re: How are locks managed in PG? Christophe <xof@thebuild.com>
Re: How are locks managed in PG? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How are locks managed in PG? "Scott Marlowe" <scott.marlowe@gmail.com>
Re: How are locks managed in PG? "Jonah H. Harris" <jonah.harris@gmail.com>
Re: How are locks managed in PG? Thomas Kellerer <spam_eater@gmx.net>
Alvaro Herrera, 19.12.2008 13:49:
> We use an in-memory lock manager for table- and page-level locks.  For
> shared tuple locks, they are spilled to disk on an ad-hoc storage system
> (pg_multixact) when there is more than one shared locker.  (Exclusive
> locks and single locker shared locks are stored directly on the locked
> tuple.)
> 
>> Oracle on the other hand stores the lock information directly in the data 
>> block that is locked, thus the number of locks does not affect system 
>> performance (in terms of managing them). 
>>
>> I couldn't find any description on which strategy PG applies.
> 
> None of the above.  We're smarter than everyone else.

Thanks. This was the answer I was looking for :)

Thomas
В списке pgsql-general по дате отправления
От: Alvaro Herrera
Дата:
От: Tom Lane
Дата:
FAQ