pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Thomas Lozza <thomas.lozza@nexustelecom.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Vacuum and FSM page size
Date: Thu, 24 Jan 2008 09:48:04 -0600
Message-ID: <dcc563d10801240748m3a2a3309r983a5087ebb17186@mail.gmail.com> (raw)
In-Reply-To: <F6B04D920899DF47B1E1A4F40415167E3D4299@gaia.nexus-ag.com>
References: <F6B04D920899DF47B1E1A4F40415167E3D4299@gaia.nexus-ag.com>

On Jan 23, 2008 12:29 PM, Thomas Lozza <thomas.lozza@nexustelecom.com> wrote:
> Auto vacuum is enabled. Here are the settings:
>
> autovacuum = true
> autovacuum_naptime = 900
> autovacuum_vacuum_threshold = 2000
> autovacuum_analyze_threshold = 1000
> autovacuum_vacuum_scale_factor = 0.25
> autovacuum_analyze_scale_factor = 0.18
> autovacuum_vacuum_cost_delay = 150
> autovacuum_vacuum_cost_limit = 120
>
> A manual vacuum takes very long (around 4 days), so maybe the cost delay
> and limit or too high.

Your autovacuum_vacuum_cost_delay is REALLY high.  Try setting it to
10 or 20 and see if that helps.

What is your plain old vacuum_cost_delay set to?



view thread (7+ messages)  latest in thread

Message-ID: <dcc563d10801240748m3a2a3309r983a5087ebb17186@mail.gmail.com>
Permalink:  ../dcc563d10801240748m3a2a3309r983a5087ebb17186@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10801240748m3a2a3309r983a5087ebb17186@mail.gmail.com

 · 

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 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: scott.marlowe@gmail.com, thomas.lozza@nexustelecom.com
  Subject: Re: Vacuum and FSM page size
  In-Reply-To: <dcc563d10801240748m3a2a3309r983a5087ebb17186@mail.gmail.com>
  References: <F6B04D920899DF47B1E1A4F40415167E3D4299@gaia.nexus-ag.com> <dcc563d10801240748m3a2a3309r983a5087ebb17186@mail.gmail.com>

* 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