Re: VACUUM, 24/7 availability and 7.2

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Erwin Lansing <erwin(at)lansing(dot)dk>
Cc: wsheldah(at)lexmark(dot)com, Ian Barwick <SUNGLASSESbarwick(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: VACUUM, 24/7 availability and 7.2
Date: 2001-10-12 21:02:37
Message-ID: m3669kzi4y.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Erwin Lansing <erwin(at)lansing(dot)dk> writes:

> We are having some trouble with some tables in which we have lots of
> update's (and insert/delete's). "A lot" being several thousands per day
> (I haven't measured the exact numbers recently). VACUUM is running twice
> a day and locks these tables a long time where 10-15 minutes is not
> exceptional. This table has only approx 100k records, but these are
> updated very often and that seems to cause to much rubbish for vacuum

You might try running VACUUM much more often, as it'll run faster with
less work to do. If running it every hour takes the locked time down
to 30 seconds, you might find that acceptable (depending on the
application of course).

Worth a try until 7.2 is solid...

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Koenig 2001-10-12 21:11:53 Any Good Way To Do Sync DB's?
Previous Message Bruce Momjian 2001-10-12 20:50:30 Re: Contents of greatbridge.com?