Re: autovacuum ignore tables

From: "Sriram Dandapani" <sdandapani(at)counterpane(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: autovacuum ignore tables
Date: 2006-09-26 23:58:24
Message-ID: 6992E470F12A444BB787B5C937B9D4DF05DF2566@ca-mail1.cis.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

If I tell autovacuum to ignore the high traffic daily partition tables
that get dropped regularly, will it reset the transaction id wraparound
counter when it is done?

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Monday, September 18, 2006 1:32 PM
To: Sriram Dandapani
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] autovacuum ignore tables

"Sriram Dandapani" <sdandapani(at)counterpane(dot)com> writes:
> I am trying to get autovacuum to complete quicker and prevent Xactn
> wraparound (currently, it takes very long and due to the fact that I
> have to restart the database for maintenance purposes), autovacuum
never
> finishes.)

Why are you restarting the database? There is no "maintenance purpose"
I'm aware of that requires routine postmaster restarts.

As for suppressing autovac on specific tables, see the pg_autovacuum
system catalog.

regards, tom lane

Browse pgsql-admin by date

  From Date Subject
Next Message Ray Stell 2006-09-27 13:56:47 Re: What Are Last Steps Performed When PostgreSQL Starts?
Previous Message Gregory S. Williamson 2006-09-26 23:23:19 Re: Runtime error: could not open segment 1 of relation ...