Re: Some vacuum & tuning help - Mailing list pgsql-performance

From Shridhar Daithankar
Subject Re: Some vacuum & tuning help
Date
Msg-id 3F300309.24908.A81164@localhost
Whole thread Raw
In response to Re: Some vacuum & tuning help  (Peter Childs <blue.dragon@blueyonder.co.uk>)
Responses Re: Some vacuum & tuning help
List pgsql-performance
On 5 Aug 2003 at 14:15, Peter Childs wrote:

> On Tue, 5 Aug 2003, Shridhar Daithankar wrote:
>
> > On 5 Aug 2003 at 8:09, Jeff wrote:
> >
> > I would suggest autovacuum daemon which is in CVS contrib  works for 7.3.x as
> > well.. Or schedule a vacuum analyze every 15 minutes or so..
>
>     I've just got autovacum up and Since we have had a lot of talk
> about it recently..... I thought some feed back might be useful.
>     It seams to work quite well. But can be rather zelous on its
> analysing for the first few hours. Curretly its analysig static (ie
> nothigs changed) tables every 10minites. Vacuums seam to be about right.
>     I think that many vacuums may be slowing does my database....

IIRC there is per operation threshold. If update threshold is 5% and table is
2% updatedit, then it should not look at it at all.

It's worth mentioning that you should start auto vacuum daemon on a clean
database. i.e. no pending vacuum. It is not supposed to start with a database
which has lots of clean up pending. The essence of auto vacuum daemon is to
maintain a clean database in clean state..

I agree, specifying per table thresholds would be good in autovacuum..


Bye
 Shridhar

--
WYSIWYG:    What You See Is What You Get.


pgsql-performance by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: Some vacuum & tuning help
Next
From: Peter Childs
Date:
Subject: Re: Some vacuum & tuning help