Re: vacuum

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dr R(dot)Adscheid" <adscheid(at)rosin(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuum
Date: 2001-01-26 15:10:54
Message-ID: 29602.980521854@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Dr R.Adscheid" <adscheid(at)rosin(dot)com> writes:
> We are using PostgreSQL 6.3/Digital Unix 4.0B in an environment with 7x24
> availiability. There
> is one table, which has about 9000 new records per day and about 10% being
> updated. With an index over several columns the select on this table is quit
> short, but removing old entries and vacuuming is an very time
> consuming operation (about 1 hour for the whole database!) and because of
> the 7x24 production not acceptable.

A number of people have found that removing the index, vacuuming, and
recreating the index is faster than letting vacuum try to fix the
index for itself.

Another possibility is to try the "lazy vacuum" patches available from
http://people.freebsd.org/~alfred/vacfix/, though I don't fully trust
those yet. (That would require updating to 7.0.3 ... but I tell you
in all honesty that you're a fool to still be using 6.3 for anything
critical. The number of bugs fixed between 6.3 and 7.0.3 is enormous.)

regards, tom lane

In response to

  • vacuum at 2001-01-26 08:03:30 from Dr R.Adscheid

Browse pgsql-general by date

  From Date Subject
Next Message Kassu Valtakari 2001-01-26 15:11:19 Connection pooling with C and libpq
Previous Message James Thompson 2001-01-26 14:49:56 GNUe Forms 0.0.5 Released