Re: Vacuum and FSM page size

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Thomas Lozza" <thomas(dot)lozza(at)nexustelecom(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Vacuum and FSM page size
Date: 2008-01-24 15:48:04
Message-ID: dcc563d10801240748m3a2a3309r983a5087ebb17186@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Jan 23, 2008 12:29 PM, Thomas Lozza <thomas(dot)lozza(at)nexustelecom(dot)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?

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Chris Browne 2008-01-24 16:09:08 Re: Making the most of memory?
Previous Message Florian Weimer 2008-01-24 14:26:46 Re: Making the most of memory?