Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 013096326E2 for ; Sat, 1 May 2010 13:13:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 28625-08 for ; Sat, 1 May 2010 16:13:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gw0-f46.google.com (mail-gw0-f46.google.com [74.125.83.46]) by mail.postgresql.org (Postfix) with ESMTP id 847556334C4 for ; Sat, 1 May 2010 13:13:27 -0300 (ADT) Received: by gwj19 with SMTP id 19so571447gwj.19 for ; Sat, 01 May 2010 09:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nK1N+jHsf+9rOdKcOxissyb/ZUgCPePoiVil5IiluIM=; b=Qiu6z3WSEwrjPhD0RmOby71WUa3LzNf1ZhdbWstBS1d4YdncVP6WXEkcpx0RTSdzAD WkaZkJtYjENaYX8P6EWQDDpSW+r8MSyL0lXulDaItvafybG5dKa/ffA6ai8GOnFywI1D gijLYvpGEfLpKp/H74ecNeDibBI3YzRRh2Y/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nCyJlNrDy9Xcb2oHCtNVzfa2Q5JXW+LliRlvTw2NBzVpeWO1YKrDoYNR+fADPjSklX 9itZL3jIA0YzHennnVFIdTuEOa3mvcjtQJzJL+lziXVKXCyfGAeLPtjyXo2AmHGKhXt6 7bnfLiSmvGjx8i7r384XsCP+S2IULvlHq2Xu0= MIME-Version: 1.0 Received: by 10.151.3.25 with SMTP id f25mr5192496ybi.183.1272730405648; Sat, 01 May 2010 09:13:25 -0700 (PDT) Received: by 10.150.134.20 with HTTP; Sat, 1 May 2010 09:13:25 -0700 (PDT) In-Reply-To: <4BDB5ECE.4010607@agliodbs.com> References: <65d9d15d-41d2-4bfa-8cc3-6148b4fb9022@z3g2000yqz.googlegroups.com> <4BDB5ECE.4010607@agliodbs.com> Date: Sat, 1 May 2010 10:13:25 -0600 Message-ID: Subject: Re: autovacuum strategy / parameters From: Scott Marlowe To: Josh Berkus Cc: Robert Haas , Rick , pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201005/6 X-Sequence-Number: 38590 On Fri, Apr 30, 2010 at 4:50 PM, Josh Berkus wrote: > Which is the opposite of my experience; currently we have several > clients who have issues which required more-frequent analyzes on > specific tables. =A0 Before 8.4, vacuuming more frequently, especially on > large tables, was very costly; vacuum takes a lot of I/O and CPU. =A0Even > with 8.4 it's not something you want to increase without thinking about > the tradeoff Actually I would think that statement would be be that before 8.3 vacuum was much more expensive. The changes to vacuum for 8.4 mostly had to do with moving FSM to disk, making seldom vacuumed tables easier to keep track of, and making autovac work better in the presence of long running transactions. The ability to tune IO load etc was basically unchanged in 8.4.