Re: Vacuum stops with misleading max_fsm_pages error - Mailing list pgsql-admin

From Matthew O'Connor
Subject Re: Vacuum stops with misleading max_fsm_pages error
Date
Msg-id 4624C7E5.7060506@zeut.net
Whole thread Raw
In response to Re: Vacuum stops with misleading max_fsm_pages error  ("Kieran Cooper, Lyris UK" <kieran@lyris.co.uk>)
List pgsql-admin
Kieran Cooper, Lyris UK wrote:
>> What is it about autovacuum that isn't working for you?
>
> Hi Matthew. I have to admit that I haven't tested full yet, but here's
> the scenario:
> When Lyris sends a mailing there is an intense amount of database
> activity - particularly on two tables. When I had auto vacuum set up,
> the database just wasn't responding fast enough, so the mailing speed
> dropped as Lyris dynamically adjusted based on the speed of db response.
> I guess what I need to do is tweak the intervals and the sleep time so
> that vacuum backs off when the database is really busy - do you have any
> thoughts on what settings I should try in order to acheive that?


The sleep intervals are one thing, but what you probably really want to
play with are they vacuum cost delay and limit settings.  This is
throttle down how much IO autovacuum can consume.

http://www.postgresql.org/docs/8.2/interactive/runtime-config-autovacuum.html

pgsql-admin by date:

Previous
From: "Milen A. Radev"
Date:
Subject: Re: Checking a size of a given database
Next
From: "Alexander B."
Date:
Subject: waiting status