Re: postgresql meltdown on PlanetMath.org

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Aaron Krowne <akrowne(at)vt(dot)edu>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: postgresql meltdown on PlanetMath.org
Date: 2003-03-16 08:35:37
Message-ID: 20030316083537.GB66903@perrin.int.nxad.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> > You may want to setup a nightly vacuum/backup procedure. Palle
> > Girgensohn <girgen(at)pingpong(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2003-03-16 08:37:32 Re: postgresql meltdown on PlanetMath.org
Previous Message Aaron Krowne 2003-03-16 08:30:11 Re: postgresql meltdown on PlanetMath.org