X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 28BCCDBB45 for ; Fri, 18 Nov 2005 19:59:28 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10010-02 for ; Fri, 18 Nov 2005 23:59:29 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id D38A2DBB3C for ; Fri, 18 Nov 2005 19:59:24 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jAINxPw9013205; Fri, 18 Nov 2005 18:59:25 -0500 (EST) To: Colton A Smith cc: pgsql-admin@postgresql.org Subject: Re: fsm allocation In-reply-to: References: Comments: In-reply-to Colton A Smith message dated "Thu, 17 Nov 2005 08:20:12 -0500" Date: Fri, 18 Nov 2005 18:59:25 -0500 Message-ID: <13204.1132358365@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.005 required=5 tests=[AWL=0.005] X-Spam-Score: 0.005 X-Spam-Level: X-Archive-Number: 200511/250 X-Sequence-Number: 19623 Colton A Smith writes: > Recently, I vacuumed and the output told me I had 47 relations, 151751 > pages stored, and that I needed 237680 total pages. My fsm allocation > was for 1000 relations, 150000 pages. > I took this to mean the vacuum didn't work and that I needed to allocate > more pages. So I edited the conf file to allocate 300000 pages. After > altering SHMMAX on my system, I was able to restart the database. > I tried vacuuming again. This time, the output said I had 47 > relations, 301906 pages and that I now needed 333104 total pages. > I'm confused. Does this mean I need to bump up my fsm allocation again? I seem to recall that the FSM's threshold for how much free space is worth remembering does vary with the number of slots it's got available, so this increase isn't too surprising. Without knowing anything about the total size of your database, it's difficult to say whether these numbers are out of line or not. regards, tom lane