Re: vacuum by non-owner

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Richard Stover <richard(at)ucolick(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuum by non-owner
Date: 2003-04-08 01:39:34
Message-ID: m3d6jxlqcp.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Stover <richard(at)ucolick(dot)org> writes:

> This is what I was trying to avoid. I'd have to run the script
> every five minutes, even if it isn't needed, to handle the
> times when it is. That just seemed like sort of a clumsy way
> to handle the problem. But perhaps this is the best
> solution?

With Postgres 7.2 and later, regular VACUUM (not FULL) is very
lightweight. The less work it has to do, the quicker it will run.
Vacuuming frequently in 7.2+ also reduces the pressure on FSM (free
space map) memory, so you can get away with less of it.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message J. M. Brenner 2003-04-08 02:01:35 Failed dependencies: perl(Pg) is needed by postgresql-contrib
Previous Message Tatsuo Ishii 2003-04-08 01:37:50 Re: Backpatch FK changes to 7.3 and 7.2?