Re: [PERFORM] autovacuum on a -mostly- r/o table

From: Tobias Brox <tobias(at)nordicbet(dot)com>
To: Edoardo Ceccarelli <eddy(at)axa(dot)it>
Cc: pgsql-performance(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [PERFORM] autovacuum on a -mostly- r/o table
Date: 2006-09-27 16:13:29
Message-ID: 20060927161329.GB25630@oppetid.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

[Edoardo Ceccarelli - Wed at 06:08:30PM +0200]
> We also activated the autovacuum feature to give it a try and that's
> were our problems started.
(...)
> How can I configure the vacuum to run after the daily batch insert/update?

I think you shouldn't use autovacuum in your case.

We haven't dared testing out autovacuum yet even though we probably
should, so we're running vacuum at fixed times of the day. We have a
very simple script to do this, the most important part of it reads:

echo "vacuum verbose analyze;" | psql $DB_NAME > $logdir/$filename 2>&1

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Csaba Nagy 2006-09-27 16:13:44 Re: [PERFORM] autovacuum on a -mostly- r/o table
Previous Message Alan Hodgson 2006-09-27 16:13:22 Re: autovacuum on a -mostly- r/o table

Browse pgsql-performance by date

  From Date Subject
Next Message Csaba Nagy 2006-09-27 16:13:44 Re: [PERFORM] autovacuum on a -mostly- r/o table
Previous Message Alan Hodgson 2006-09-27 16:13:22 Re: autovacuum on a -mostly- r/o table