Re: Automatic free space map filling - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Automatic free space map filling
Date
Msg-id 200603011657.k21Gv9C00129@candle.pha.pa.us
Whole thread Raw
In response to Re: Automatic free space map filling  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: statement_cost_limit
Next
From: Simon Riggs
Date:
Subject: Re: Vacuum dead tuples that are "between" transactions