Re: Preventing duplicate vacuums? - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Preventing duplicate vacuums?
Date
Msg-id 1076016392.308.539.camel@jester
Whole thread Raw
In response to Preventing duplicate vacuums?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Preventing duplicate vacuums?
List pgsql-hackers
On Thu, 2004-02-05 at 15:37, Josh Berkus wrote:
> Folks,
> 
> Just occurred to me that we have no code to prevent a user from running two 
> simultaneos lazy vacuums on the same table.    I can't think of any 
> circumstance why running two vacuums would be desirable behavior; how 
> difficult would it be to make this an exception?

You have a 8 billion row table with some very high turn over tuples
(lots of updates to a few thousand rows). A partial or targeted vacuum
would be best, failing that you kick them off fairly frequently,
especially if IO isn't really an issue.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: It's past time to redo the smgr API
Next
From: Alvaro Herrera
Date:
Subject: Re: It's past time to redo the smgr API