Re: Understanding GIN posting trees

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Understanding GIN posting trees
Дата
Msg-id 7534.1310670635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Understanding GIN posting trees  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Understanding GIN posting trees
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Why is the posting tree a tree? AFAICS, we never search it using the 
> TID, it's always scanned in whole. It would be simpler to store the TIDs 
> in a posting list in no particular order. This could potentially make 
> insertions cheaper, as you could just append to the last posting list 
> page for the key, instead of traversing the posting tree to a particular 
> location. You could also pack the tids denser, as you wouldn't need to 
> reserve free space for additions in the middle.

Surely VACUUM would like to search it by TID for deletion purposes?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Extension ownership and pg_dump
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: per-column generic option