Re: Block B-Tree concept

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Block B-Tree concept
Дата
Msg-id 200609261213.k8QCD6P06043@momjian.us
обсуждение исходный текст
Ответ на Re: Block B-Tree concept  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Block B-Tree concept  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Heikki Linnakangas wrote:
> Tom Lane wrote:
> > Heikki Linnakangas <heikki@enterprisedb.com> writes:
> >   
> >> I've been experimenting with the idea of a so-called Block B-Tree. The 
> >> basic idea is that instead of storing an index tuple for each heap 
> >> tuple, we store an index tuple for each heap block. This dramatically 
> >> reduces the size of an index, leading to savings on I/O.
> >>     
> >
> > VACUUM?
> >   
> There's a few options that I've thought of this far:
> 
> 1. Whenever a tuple is found dead on page X, vacuum of the index will 
> have to go to that page again to see if there's any matching tuples left.

Right now, if an index entry points to a dead tuple, we set a bit in 
the index so future lookups do not access the heap.  We could set a bit 
for block index entries that point to a page that has no live rows, and
have vacuum remove the index entry later.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: Release Notes: Major Changes in 8.2
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Questions about guc units