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

From Sean Chittenden
Subject Re: postgresql meltdown on PlanetMath.org
Date
Msg-id 20030316083537.GB66903@perrin.int.nxad.com
Whole thread Raw
In response to Re: postgresql meltdown on PlanetMath.org  (Aaron Krowne <akrowne@vt.edu>)
List pgsql-performance
> > You may want to setup a nightly vacuum/backup procedure.  Palle
> > Girgensohn <girgen@pingpong.net> has written a really nice and simple
> > script that's been in use for ages on FreeBSD PostgreSQL installations
> > for making sure that you don't have this problem.
> >
> > Actually, it'd be really cool to lobby to get this script added to the
> > base PostgreSQL installation that way you wouldn't have this
> > problem... it'd also dramatically increase the number of nightly
> > backups performed for folks if a default script does this along with
> > vacuuming.  -sc
>
> *Actually*, I just double checked, and I was not hallucinating: I *do*
> have a nightly vacuum script... because Debian postgres comes with it =)

Cool, glad to hear other installations are picking up doing this.

> 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...)?

You shouldn't have to do a VACUUM FULL.  Upgrade your PostgreSQL
installation if you can (most recent if possible), there have been
many performance updates and VACUUM fixes worth noting.  Check the
release notes starting with your version and read through them up to
the current release... you'll be amazed at all the work that's been
done, some of which it looks like may affect your installation.

http://developer.postgresql.org/docs/postgres/release.html

-sc

--
Sean Chittenden

pgsql-performance by date:

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