Skip site navigation (1) Skip section navigation (2)

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

From: Decibel! <decibel(at)decibel(dot)org>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tatsuo Ishii <ishii(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,PostgreSQL-development list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM
Date: 2007-10-04 05:02:55
Message-ID: 20071004050254.GL65515@decibel.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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(at)decibel(dot)org 
Give your computer some brain candy! www.distributed.net Team #1828

In response to

Responses

pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 2007-10-04 06:23:49
Subject: Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM
Previous:From: Tom LaneDate: 2007-10-04 04:47:13
Subject: Not *quite* there on ecpg fixes

pgsql-committers by date

Next:From: Tatsuo IshiiDate: 2007-10-04 06:23:49
Subject: Re: Re: [COMMITTERS] pgsql: Fix free space map to correctly track the total amount of FSM
Previous:From: Neil ConwayDate: 2007-10-04 03:57:00
Subject: Re: pgsql: Second pass at 8.3 release notes: putitems in a bit more logical

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group