Re: postgresql meltdown on PlanetMath.org - Mailing list pgsql-performance

From Greg Stark
Subject Re: postgresql meltdown on PlanetMath.org
Date
Msg-id 87hea2assw.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: postgresql meltdown on PlanetMath.org  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: postgresql meltdown on PlanetMath.org
List pgsql-performance
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Aaron Krowne <akrowne@vt.edu> writes:
> > So, either it is broken, or doing a VACUUM FULL ANALYZE rather than just
> > VACUUM ANALYZE made all the difference.  Is this possible (the latter,
> > we know the former is possible...)?
>
> If your FSM parameters in postgresql.conf are too small, then plain
> vacuums might have failed to keep up with the available free space,
> leading to a situation where vacuum full is essential.  Did you happen
> to notice whether the vacuum full shrunk the database's disk footprint
> noticeably?

This seems to be a frequent problem.

Is there any easy way to check an existing table for lost free space?

Is there any way vauum could do this check and print a warning suggesting
using vaccuum full and/or increasing fsm parameters if it finds such?

--
greg

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgresql meltdown on PlanetMath.org
Next
From: Tom Lane
Date:
Subject: Re: postgresql meltdown on PlanetMath.org