Received: from maia.hub.org (maia-1.hub.org [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 19C55632D5C for ; Sat, 1 May 2010 16:17:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 54989-01 for ; Sat, 1 May 2010 19:17:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yx0-f195.google.com (mail-yx0-f195.google.com [209.85.210.195]) by mail.postgresql.org (Postfix) with ESMTP id C0D31632969 for ; Sat, 1 May 2010 16:17:14 -0300 (ADT) Received: by yxe33 with SMTP id 33so216791yxe.15 for ; Sat, 01 May 2010 12:17:13 -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=3PpDx7O6XWKwqXGQE5NVr0wQ1dpDQJ5pPxtvvTl2doE=; b=NqrKiVC6+oNwAZTSkQCHjdN1UcSOw0fUHmZqIjtoV0X0Va+mlqFzNE5XxApQJBtHcJ VIaSpdLioxa9W56l07xx6MZgImqVUfjgj1HLMU6mE3X9AIlydWmck1InijFXzVdRro/9 B2Y/V1rvPeY2XP4c4/TCUlLxVx/APvAgkJgwA= 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=v5HSveKqysC3FuhwqgGm2ed2iXgMLssp2g70YXEbhQvm46q2wx6uxlXIm5LJxach2v Q4Cj6a05TG/2dRsDoPsSLZUW7H6KKh5PYUk5DoAaFQHd7mhtHwhJu6KNNrCKWO3VJMAM BkhPGkGXR5SMYgqiVk+HrW2fhcz2gop0Lp60M= MIME-Version: 1.0 Received: by 10.151.18.10 with SMTP id v10mr6348804ybi.51.1272741433801; Sat, 01 May 2010 12:17:13 -0700 (PDT) Received: by 10.150.134.20 with HTTP; Sat, 1 May 2010 12:17:12 -0700 (PDT) In-Reply-To: References: <65d9d15d-41d2-4bfa-8cc3-6148b4fb9022@z3g2000yqz.googlegroups.com> <4BDB5ECE.4010607@agliodbs.com> Date: Sat, 1 May 2010 13:17:12 -0600 Message-ID: Subject: Re: autovacuum strategy / parameters From: Scott Marlowe To: Robert Haas Cc: Josh Berkus , 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.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201005/10 X-Sequence-Number: 38594 On Sat, May 1, 2010 at 1:08 PM, Robert Haas wrote: > On Sat, May 1, 2010 at 12:13 PM, Scott Marlowe = wrote: >> 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. =A0Ev= en >>> 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. =A0The 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. =A0The ability to tune IO load >> etc was basically unchanged in 8.4. > > What about http://www.postgresql.org/docs/8.4/static/storage-vm.html ? That really only has an effect no tables that aren't updated very often. Unless you've got a whole bunch of those, it's not that big of a deal.