From: Alvaro Herrera <alvherre@commandprompt.com>
To: Ron St-Pierre <ron.pgsql@shaw.ca>
Cc: general <pgsql-general@postgresql.org>
Subject: Re: [Fwd: Re: Autovacuum keeps vacuuming a table disabled in pg_autovacuum]
Date: Fri, 1 Jun 2007 16:50:30 -0400
Message-ID: <20070601205030.GQ4503@alvh.no-ip.org> (raw)
In-Reply-To: <46608122.6010408@shaw.ca>
References: <46608122.6010408@shaw.ca>
Ron St-Pierre wrote:
> I stopped using autovacuum months ago because of similar problems
> (version 8.1.4). Because we do some major inserts and updates about four
> times a day, there were a few tables that I didn't want autovacuumed.
> Even after I turned autovacuum off for these tables it still tried to
> vacuum them while the updates were running. Instead, I just created cron
> jobs to vacuum the two tables with the most updates daily, and the one
> with the most inserts weekly. Performance has been pretty good.
FYI, in 8.2 and up the Xid wraparound problem is considered on a table
by table basis, which means that only the tables that have not been
vacuumed recently need to be vacuumed. The need for database wide
vacuuming is gone.
> Time to start VACUUM FULL ANALYZE over the weekend.
For Xid wraparound you don't need FULL anyway, in any release.
--
Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4
"Find a bug in a program, and fix it, and the program will work today.
Show the program how to find and fix a bug, and the program
will work forever" (Oliver Silfridge)
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-general@postgresql.org
Cc: alvherre@commandprompt.com, ron.pgsql@shaw.ca
Subject: Re: [Fwd: Re: Autovacuum keeps vacuuming a table disabled in pg_autovacuum]
In-Reply-To: <20070601205030.GQ4503@alvh.no-ip.org>
References: <46608122.6010408@shaw.ca> <20070601205030.GQ4503@alvh.no-ip.org>
* 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