Re: autovacuum ignore tables - Mailing list pgsql-admin

From Matthew T. O'Connor
Subject Re: autovacuum ignore tables
Date
Msg-id 451C9F7D.30304@zeut.net
Whole thread Raw
In response to autovacuum ignore tables  ("Sriram Dandapani" <sdandapani@counterpane.com>)
List pgsql-admin
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 –a 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.


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Stored procedure array limits
Next
From: "Sriram Dandapani"
Date:
Subject: Re: autovacuum ignore tables