X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 259D89FB1EF for ; Tue, 19 Sep 2006 01:10:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 38033-09 for ; Tue, 19 Sep 2006 01:10:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by postgresql.org (Postfix) with ESMTP id CB4C29FB1F3 for ; Tue, 19 Sep 2006 01:10:37 -0300 (ADT) Received: from pool-72-88-194-29.nwrknj.fios.verizon.net ([72.88.194.29] helo=[192.168.4.67]) by outbound.mailhop.org with esmtpa (Exim 4.51) id 1GPWwL-000EmB-JE; Tue, 19 Sep 2006 00:10:37 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 72.88.194.29 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: tocr Message-ID: <450F6DB2.5060908@zeut.net> Date: Tue, 19 Sep 2006 00:10:26 -0400 From: "Matthew T. O'Connor" User-Agent: Thunderbird 2.0a1 (Windows/20060724) MIME-Version: 1.0 To: Sriram Dandapani CC: pgsql-admin@postgresql.org Subject: Re: autovacuum ignore tables References: <6992E470F12A444BB787B5C937B9D4DF05DF1ACD@ca-mail1.cis.local> In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF05DF1ACD@ca-mail1.cis.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.1 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS X-Spam-Level: X-Archive-Number: 200609/188 X-Sequence-Number: 23102 Sriram Dandapani wrote: > > Hi > > > > Is it possible to tell autovacuum to ignore certain tables (These > tables are high traffic daily partition tables that get dropped every > other day). > > > > 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.) > If you are running PostgreSQL 8.1 with integrated autovacuum, then yes, you can disable autovacuum on a per table basis, if you are using an older version with the contrib autovacuum, then no. Matt