Re: B-tree descend for insertion locking

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: B-tree descend for insertion locking
Дата
Msg-id CAM3SWZSfGmDWA-=HPR=peop3B-damQ1N2TZtOO+UxujH2VYLSA@mail.gmail.com
обсуждение исходный текст
Ответ на B-tree descend for insertion locking  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
On Tue, Mar 18, 2014 at 4:12 AM, Heikki Linnakangas
<hlinnakangas@vmware.com> wrote:
> When inserting into a B-tree index, all the pages are read-locked when
> descending the tree. When we reach the leaf page, the read-lock is exchanged
> for a write-lock.
>
> There's nothing wrong with that, but why don't we just directly grab a
> write-lock on the leaf page?


Whatever happened to this idea?

-- 
Peter Geoghegan



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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: PL/pgSQL 1.2
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Display of timestamp in pg_dump custom format