From: Matthew T. O'Connor <matthew@zeut.net>
To: Sriram Dandapani <sdandapani@counterpane.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: autovacuum ignore tables
Date: Fri, 29 Sep 2006 00:22:21 -0400
Message-ID: <451C9F7D.30304@zeut.net> (raw)
In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF060E5AE1@ca-mail1.cis.local>
References: <6992E470F12A444BB787B5C937B9D4DF060E5AE1@ca-mail1.cis.local>
Sriram Dandapani wrote:
>
> If I were to specify in the pg_autovacuum catalog that certain high
> volume partitioned tables(that get dropped daily) be ignored, then
> when autovacuum finishes, will it update the transaction id wraparound
> counter (this way, I can get autovacuum to finish quickly )
>
> OR
>
> Will I still need to periodically do vacuumdb ¡Va to take care of the
> wraparound problem.
>
You don't need to do a manual vacuumdb -a since autovacuum will do this
once it decides you are getting too close to the wraparound point. I
believe this has been improved in the upcoming 8.2 release where
autovacuum no longer need to vacuum the whole database at once, rather
XID wraparound is now tracked on a per table basis.
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-admin@postgresql.org
Cc: matthew@zeut.net, sdandapani@counterpane.com
Subject: Re: autovacuum ignore tables
In-Reply-To: <451C9F7D.30304@zeut.net>
References: <6992E470F12A444BB787B5C937B9D4DF060E5AE1@ca-mail1.cis.local> <451C9F7D.30304@zeut.net>
* 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