Re: Buglist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Buglist
Дата
Msg-id 19176.1061412561@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Buglist  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
Jan Wieck <JanWieck@Yahoo.com> writes:
> Aah - there is the first bullet hole in my multi-ctid-index-idea. Now
> the question becomes how expensive these tests are (if a normal backend
> can do them at all within reason)?

It's not hugely expensive, IIRC, you just need to make some additional
checks against global xmin (compare HeapTupleSatisfiesVacuum against
the others).  We're already doing something similar for the optimization
that suppresses subsequent heap lookups for globally-dead index tuples.

I'm dubious about the multi-ctid idea though because it would mean
bloating the index tuple header, whether there was any use for multiple
entries or not.  (Could we make the header variable size?  Not sure it's
worth the trouble.)

            regards, tom lane

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Grouping by date range
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Buglist