Unix Technical Forum

Converting from 7.4.19 To 8.3.1 & want to use autovacuum

This is a discussion on Converting from 7.4.19 To 8.3.1 & want to use autovacuum within the pgsql Admins forums, part of the PostgreSQL category; --> Hello, We are new about autovacuum launcher on 8.3.1 and we are not sure what the parameters should be ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2008, 03:04 PM
Barbara Stephenson
 
Posts: n/a
Default Converting from 7.4.19 To 8.3.1 & want to use autovacuum

Hello,

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?

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?
--
Regards,

Barbara Stephenson
EDI Specialist/Programmer
Turbo, division of Ozburn-Hessey Logistics
2251 Jesse Jewell Pkwy NE
Gainesville, GA 30507
tel: (678)989-3020 fax: (404)935-6171
barbara@turbocorp.com
www.ohlogistics.com

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2008, 03:04 PM
Guillaume Lelarge
 
Posts: n/a
Default Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum

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.

Regards.


--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-10-2008, 03:04 PM
Barbara Stephenson
 
Posts: n/a
Default Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum

Oh I have to look at the other parameters. Once the database is up and it's
not vacuuming like we want how do we make changes to the conf file while the
database is running? Some signal?

Guillaume Lelarge wrote:
> 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.
>
> Regards.
>
>
> --
> Guillaume.
> http://www.postgresqlfr.org
> http://dalibo.com


--
Regards,

Barbara Stephenson
EDI Specialist/Programmer
Turbo, division of Ozburn-Hessey Logistics
2251 Jesse Jewell Pkwy NE
Gainesville, GA 30507
tel: (678)989-3020 fax: (404)935-6171
barbara@turbocorp.com
www.ohlogistics.com

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-10-2008, 03:04 PM
Eric Comeau
 
Posts: n/a
Default Re: Converting from 7.4.19 To 8.3.1 & want to use autovacuum

> 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?



--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com