Re: Block B-Tree concept

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Block B-Tree concept
Дата
Msg-id 20060927055253.GC19827@nasby.net
обсуждение исходный текст
Ответ на Re: Block B-Tree concept  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Block B-Tree concept  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-hackers
On Tue, Sep 26, 2006 at 08:51:10AM -0400, Tom Lane wrote:
> > 3. Do nothing. Let index scans mark the index tuple as dead when it's 
> > convenient. There's no correctness problem with just leaving dead index 
> > tuples there, because you have to check the index quals on each heap 
> > tuple anyway when you scan.
> 
> And we're back to routine REINDEX I guess :-(.  This doesn't seem like a
> satisfactory answer.

Couldn't vacuum just eliminate tuples marked dead? Heck, don't we do
that anyway right now?

Granted, you'd want to periodically ensure that you scan the entire
index, but that shouldn't be horribly hard to set up.
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Block B-Tree concept
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: -HEAD planner issue wrt hash_joins on dbt3 ?