Re: Automatic free space map filling

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Automatic free space map filling
Дата
Msg-id 200603011657.k21Gv9C00129@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Automatic free space map filling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > I'm not sure if I made myself clear.  The idea is that you fill the free-space 
> > map early with opportunitistic entries in the hope that most updates and 
> > deletes go through "soon".  That is, these entries will be invalid for a 
> > short time but hopefully by the time another write looks at them, the entries 
> > will have become valid.  That way you don't actually have to run vacuum on 
> > these deleted rows.
> 
> How does an optimistic FSM entry avoid the need to run vacuum?  All that
> will happen is that some backend will visit the page and not find usable
> free space.

Because the index isn't removed, right?  That index thing is what
usually kills us.

--  Bruce Momjian   http://candle.pha.pa.us SRA OSS, Inc.   http://www.sraoss.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: statement_cost_limit
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Vacuum dead tuples that are "between" transactions