Re: HOT patch - version 15

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HOT patch - version 15
Дата
Msg-id 22922.1189091206@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: HOT patch - version 15  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> Tom Lane wrote:
>> I don't follow.  HOT chains can only get longer by updates.

> Yes. We don't seem to be on the same wavelength...

> Imagine a page with just one tuple on it:

> 1

> After a bunch of updates, it looks like this

> 1 -> 2 -> 3 -> 4 -> 5

> 1 is the tuple the indexes point to, others are heap only.

But if we were attempting prune at every update, at least some of the
later updates should have managed to prune.  "2" should certainly be
gone at this point, unless there's lots of contention for the page,
in which case pruning at select won't make things better.

            regards, tom lane

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

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: HOT patch - version 15
Следующее
От: Tom Lane
Дата:
Сообщение: Re: tsearch refactorings