Re: Heap WARM Tuples - Design Draft

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Heap WARM Tuples - Design Draft
Дата
Msg-id CANP8+jJe97JEZ9Na_b0Q1nNSV_jNV27SwP-2mH03Dy3ersOVtQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Heap WARM Tuples - Design Draft  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Heap WARM Tuples - Design Draft  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On 4 August 2016 at 18:05, Bruce Momjian <bruce@momjian.us> wrote:

>> Approach 2 seems more reasonable and simple.
>>
>> There are only 2 bits for lp_flags and all combinations are already used. But
>> for LP_REDIRECT root line pointer, we could use the lp_len field to store this
>> special flag, which is not used for LP_REDIRECT line pointers. So we are able
>> to mark the root line pointer.
>
> Uh, as I understand it, we only use LP_REDIRECT when we have _removed_
> the tuple that the ctid was pointing to, but it seems you would need to
> set HEAP_RECHECK_REQUIRED earlier than that.

Hmm. Mostly there will be one, so this is just for the first update
after any VACUUM.

Adding a new linepointer just to hold this seems kludgy and could mean
we run out of linepointers.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: Heap WARM Tuples - Design Draft
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Heap WARM Tuples - Design Draft