buffer page lock vs tuple lock (?)

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема buffer page lock vs tuple lock (?)
Дата
Msg-id 200708070952.40357.fluca1978@infinito.it
обсуждение исходный текст
Ответы Re: buffer page lock vs tuple lock (?)  (Decibel! <decibel@decibel.org>)
Список pgsql-novice
Hi,
if I get it right a heap buffer page (that contains several tuples) requires a
pin and a lock to access the page content, and a change to a tuple requires a
lock on the tuple too. Disregarding some cases (tuple shuffling within the
same page and vacuum) does not this double locking be too much? I mean, does
not suffice to pin the page and lock the tuple (e.g., reading)?
Can anybody help me understanding?

Thanks,
Luca

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

Предыдущее
От: Jon Sime
Дата:
Сообщение: Re: clustering and denormalizing with PostgreSQL?
Следующее
От: "Ashish Karalkar"
Дата:
Сообщение: Re: JOINING TWO TABLES