Re: Vacuum thoughts

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Vacuum thoughts
Дата
Msg-id 87n0bvswp2.fsf@stark.dyndns.tv
обсуждение исходный текст
Ответ на Re: Vacuum thoughts  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Greg Stark <gsstark@MIT.EDU> writes:

> Tom Lane <tgl@sss.pgh.pa.us> writes:
> 
> > You keep ignoring the problem of removing index entries.  To vacuum an
> > individual page, you need to be willing to read in (and update) all
> > index pages that reference the tuples-to-be-deleted.  
> 
> Hm. If the visibility information were stored in the index then that could be
> postponed and done when the index page was read or when it was flushed.

Or possibly if we could reuse the space in the table without updating the
index and be able to recognize that the tuple no longer corresponded to the
index entry when we next saw the index entry.

I suspect that would take as much space to keep track of as the visibility
information though.

-- 
greg



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: In-doubt window
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: In-doubt window