From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: Some vacuum & tuning help
Date: Tue, 05 Aug 2003 19:18:33 +0530
Message-ID: <3F300309.24908.A81164@localhost> (raw)
In-Reply-To: <Pine.LNX.4.44.0308051409350.9869-100000@RedDragon.Childs>
References: <3F2FF1E6.10579.651E89@localhost>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: shridhar_daithankar@persistent.co.in
Subject: Re: Some vacuum & tuning help
In-Reply-To: <3F300309.24908.A81164@localhost>
References: <3F2FF1E6.10579.651E89@localhost> <3F300309.24908.A81164@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox