X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C11E49FAD5A for ; Sat, 8 Jul 2006 00:25:10 -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 47263-08 for ; Sat, 8 Jul 2006 00:25:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from projects.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 50D529FA5E9 for ; Sat, 8 Jul 2006 00:25:00 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by projects.commandprompt.com (8.13.6/8.13.6) with ESMTP id k683OeHj005887; Fri, 7 Jul 2006 20:24:42 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. To: pgsql-performance@postgresql.org Subject: Re: VACUUM vs. REINDEX Date: Fri, 7 Jul 2006 20:24:24 -0700 User-Agent: KMail/1.9.1 Cc: "Chris Hoover" , "William Scott Jordan" , "Jeff Frost" References: <6.2.3.0.2.20060707145857.0342ca58@mail.pandimensional.com> <6.2.3.0.2.20060707174316.0742f670@mail.brownpapertickets.com> <1d219a6f0607071828q1d63fe55k8a1faeccf03b0884@mail.gmail.com> In-Reply-To: <1d219a6f0607071828q1d63fe55k8a1faeccf03b0884@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607072024.25142.jd@commandprompt.com> X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (projects.commandprompt.com [192.168.2.159]); Fri, 07 Jul 2006 20:24:42 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/81 X-Sequence-Number: 19941 > William, > > You need to increase your fsm settings. The database is telling you it is > trying to store 177K+ pages, but you have only provided it with 20K. Since > these pages are cheap, I would set your fsm up with at least the following. > > max_fsm_pages 500000 > max_fsm_relations 5000 > > This should provide PostgreSQL with enough space to work. You still might > need to run one more vacuum full once you change the setting so that you > can recover the space that was lost due to your fsm begin to small. Yes he will need to run a vacuum full but I actually doubt he needs to increase his max_fsm_pages that much, he just needs to vacuum more. Joshua D. Drake