Re: 12 hour table vacuums - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: 12 hour table vacuums
Date
Msg-id 20071023182318.GN18013@alvh.no-ip.org
Whole thread Raw
In response to Re: 12 hour table vacuums  (Ron St-Pierre <ron.pgsql@shaw.ca>)
List pgsql-performance
Ron St-Pierre wrote:
> Gregory Stark wrote:

>>> We were running autovacuum but it interfered with the updates to we
>>> shut it off.
>>
>> Was it just the I/O bandwidth? I'm surprised as your
>> vacuum_cost_delay is quite high. Manual vacuum doesn't do anything
>> differently from autovacuum, neither should interfere directly with
>> updates except by taking away I/O bandwidth.
>>
> I don't know what the problem was. I tried to exclude certain tables
> from autovacuuming, but it autovacuumed anyway.

Probably because of Xid wraparound issues.  Now that you're vacuuming
weekly it shouldn't be a problem.  (It's also much less of a problem in
8.2).

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

pgsql-performance by date:

Previous
From: Simon Riggs
Date:
Subject: Re: 12 hour table vacuums
Next
From: Alvaro Herrera
Date:
Subject: Re: 12 hour table vacuums