pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Ernesto Eduardo Medina Núñez <eemnpg@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: auto vacuum for opentaps
Date: Mon, 21 Jul 2008 12:38:52 -0400
Message-ID: <20080721163852.GI5842@alvh.no-ip.org> (raw)
In-Reply-To: <18cc0be90807210841l637556ffl7a239a10bc45c285@mail.gmail.com>
References: <18cc0be90807210841l637556ffl7a239a10bc45c285@mail.gmail.com>

Ernesto Eduardo Medina Núñez escribió:

Hi,

> *autovacuum = on   *              # enable autovacuum subprocess?
> #autovacuum_naptime = 60                # time between autovacuum runs, in
> secs
> #autovacuum_vacuum_threshold = 1000     # min # of tuple updates before
>                                         # vacuum
> #autovacuum_analyze_threshold = 500     # min # of tuple updates before
> analyze
> #autovacuum_vacuum_scale_factor = 0.4   # fraction of rel size before vacuum
> #autovacuum_analyze_scale_factor = 0.2  # fraction of rel size before
> analyze

The thresholds and scale_factors that came with this release were too
conservative.  I suggest reducing them to 50 and 0.1, respectively.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (3+ messages)

Message-ID: <20080721163852.GI5842@alvh.no-ip.org>
Permalink:  ../20080721163852.GI5842@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080721163852.GI5842@alvh.no-ip.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, eemnpg@gmail.com
  Subject: Re: auto vacuum for opentaps
  In-Reply-To: <20080721163852.GI5842@alvh.no-ip.org>

* 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