X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 8AF979DC9C1 for ; Thu, 26 Jan 2006 11:52:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24625-03 for ; Thu, 26 Jan 2006 11:52:39 -0400 (AST) X-Greylist: delayed 00:23:26.083906 by SQLgrey- Received: from snappy.tocr.com (snappy.tocr.com [64.34.164.72]) by postgresql.org (Postfix) with ESMTP id 3DBA49DC9E5 for ; Thu, 26 Jan 2006 11:52:31 -0400 (AST) Received: by snappy.tocr.com (Postfix, from userid 48) id 160D9950141; Thu, 26 Jan 2006 09:41:08 -0500 (EST) Received: from 71.40.140.99 (SquirrelMail authenticated user matthew) by mail.tocr.com with HTTP; Thu, 26 Jan 2006 09:41:08 -0500 (EST) Message-ID: <5001.71.40.140.99.1138286468.squirrel@mail.tocr.com> In-Reply-To: <1137992841.28304.48.camel@localhost.localdomain> References: <1137992841.28304.48.camel@localhost.localdomain> Date: Thu, 26 Jan 2006 09:41:08 -0500 (EST) Subject: Re: autovacuum From: "Matthew T. O'Connor" To: "Enzo Daddario" Cc: pgsql-admin@postgresql.org User-Agent: SquirrelMail/1.4.4-1.FC2.2.legacy MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/300 X-Sequence-Number: 20388 Legit concern. However one of the things that autovacuum is supposed to do is not vacuum tables that don't need it. This can result in an overal reduction in vacuum overhead. In addition, if you see that autovacuum is firing off vacuum commands during the day and they are impacting your response time, then you can play with the vacuum cost delay settings that are design to throttle down the IO impact vacuum commands can have. In addition if you use 8.1, you can set per table thresholds, per table vacuum cost delay settings, and autovacuum will respect the work done by non-autovacuum vacuum commands. Meaning that if you manually vacuum tables at night during a maintenance window, autovacuum will take that into account. Contrib autovacuum couldn't do this. Hope that helps. Real world feed-back is always welcome. Matt > I am concerned with the impact autovacuum of table(s) would have on > regular DB activity. > > With our current DB's the majority of tables have either a low number of > updates or a large number of inserts (which I believe should not be a > problem), however, a small number of tables have an extremely high > number of updates (up to 150 000)