Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM - Mailing list pgsql-hackers

From Decibel!
Subject Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM
Date
Msg-id 20071004050254.GL65515@decibel.org
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM
List pgsql-hackers
On Tue, Oct 02, 2007 at 09:07:54PM -0400, Alvaro Herrera wrote:
> Decibel! wrote:
>
> > Hrm... what about adding output to vacuum verbose that indicates how many
> > pages in a relation have free space? That would allow something like
> > pgfouine to see how many FSM pages were needed. It would also make it
> > easier to identify relations that could stand a vacuum full/reindex/cluster
> > (though you'd also want to know something like average free space per
> > page).
>
> Rather than wasting time fixing minor FSM issues, I would favor
> rewriting the stuff so that the FSM is disk-spillable.

Sure, but this would also likely be a 20 line change to vacuum...
--
Decibel!, aka Jim C. Nasby, Database Architect  decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Not *quite* there on ecpg fixes
Next
From: Tatsuo Ishii
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM