Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 38B9B63285A for ; Sat, 1 May 2010 08:39:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 31784-07 for ; Sat, 1 May 2010 11:39:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f202.google.com (mail-iw0-f202.google.com [209.85.223.202]) by mail.postgresql.org (Postfix) with ESMTP id 214F1632A8D for ; Sat, 1 May 2010 08:39:10 -0300 (ADT) Received: by iwn40 with SMTP id 40so1315514iwn.1 for ; Sat, 01 May 2010 04:39:09 -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; bh=4v8lMgNUQQfGoiVkDl+ezl8oBjogWaKcZeZlwlTF620=; b=T1Yq56TxJfpn+tT0JSa4IftyOl7eosP8vnuHf45HcNwaiUn1lJzyaZ+sxLwjqhMdqa oHQcT83wmQO3+OIYi4A4RRe6ciWe6fli+yyj70hmtx9jMlvSGINrQORaA/iMnBLLi9Nr maNdk4A0nNsnvrQ8/I3f+YzgSy4WZOZlxlfFw= 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; b=aQi3MpDyNCQpuRRnT48TIuKonHwvAwd0GG7K/r7yGKmsaBfyWeAxWFqNALWJ5LTlRy z8iwPh7bIrXhLX0zXwFHEcbZdJMbdB8RQnJPN/HGJmGT1QQwpLBwiVQjwTGyLwsnDuFo uCkSJQsgMkXbx7HdSmM28wNebGBmgitZQ9gE8= MIME-Version: 1.0 Received: by 10.231.156.75 with SMTP id v11mr1106562ibw.25.1272713949647; Sat, 01 May 2010 04:39:09 -0700 (PDT) Received: by 10.231.11.11 with HTTP; Sat, 1 May 2010 04:39:09 -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 07:39:09 -0400 Message-ID: Subject: Re: autovacuum strategy / parameters From: Robert Haas To: Josh Berkus Cc: Rick , pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.827 tagged_above=-10 required=5 tests=AWL=0.072, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201005/3 X-Sequence-Number: 38587 On Fri, Apr 30, 2010 at 6: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. That's all fine, but probably not too relevant to the original complaint - the OP backed off the default settings by several orders of magnitude, which might very well cause a problem with both VACUUM and ANALYZE. I don't have a stake in the ground on what the right settings are, but I think it's fair to say that if you vacuum OR analyze much less frequently than what we recommend my default, it might break. ...Robert