Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum

From: "Eric Comeau" <Eric(dot)Comeau(at)signiant(dot)com>
To: "Guillaume Lelarge" <guillaume(at)lelarge(dot)info>, "Barbara Stephenson" <barbara(at)turbocorp(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum
Date: 2008-05-08 10:34:47
Message-ID: 35FABCF85D99464FB00BC5123DC2A70A04111B9A@s228130hz1ew09.apptix-01.savvis.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> Hi,
>
> Barbara Stephenson a écrit :
> > We are new about autovacuum launcher on 8.3.1 and we are not sure what
> the
> > parameters should be set to. Is setting them to default ok until we can
> > monitor if it's vacumming too much?
> >
>
> You can do that. But the default are, as always with PostgreSQL, really
> conservative. So you'll probably need to change them because it will not
> vacuum enough.
>
> > Below are the parameters that we think are the only params we need to do
> a
> > basic vacuum and analyze to our entire database.
> >
> > autovacuum=true
> > track_counts=ture
> > log_autovacuum_min_duration=1000ms
> > autovacuum_max_workers=3(default)
> > autovacuum_naptime=60
> > autovacuum_vacuum_threshold=50(default)
> >
> > Are the above settings all we need to start auto vacuuming?
>
> ISTM you forgot autovacuum_vacuum_scale_factor and the analyze parameters.
>

Are there guides, utilities or web pages published out there that help you determine the optimal settings for these parameters?

How are folks settings these parameters where their product (with PostgreSQL included) is deployed under various customer environments, say 50 different customers?

What improvements are occurring to have the PostgreSQL back-end "auto-tune" these parameters on install or on an ongoing basis?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Barbara Stephenson 2008-05-08 11:51:54 Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum
Previous Message Julius Tuskenis 2008-05-08 10:16:06 [Fwd: performance: view or function?]