Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 8F7952E0030 for ; Fri, 23 May 2008 15:02:38 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 29409-05 for ; Fri, 23 May 2008 15:02:33 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.01.com (smtp.01.com [38.98.186.166]) by developer.postgresql.org (Postfix) with ESMTP id F0CEA2E002E for ; Fri, 23 May 2008 15:02:34 -0300 (ADT) Received: from asav-1.01.com (localhost.localdomain [127.0.0.1]) by asav-1.01.com (8.13.1/8.13.1) with SMTP id m4NI2VGQ005434; Fri, 23 May 2008 13:02:31 -0500 Received: from smtp-1.01.com (smtp-1.01.com [38.98.186.157]) by asav-1.01.com (asav-1.01.com [10.25.1.11]) id k4MD2V0377307760PJ ret-id none; Fri, 23 May 2008 13:02:31 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-1.01.com (Postfix) with ESMTP id 62F44364031; Fri, 23 May 2008 13:02:31 -0500 (CDT) Received: from smtp-1.01.com ([127.0.0.1]) by localhost (smtp-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d8HHOQOZKJZ8; Fri, 23 May 2008 13:02:31 -0500 (CDT) Received: from [10.10.10.18] (adsl-69-226-210-163.dsl.pltn13.pacbell.net [69.226.210.163]) by smtp-1.01.com (Postfix) with ESMTP id AA65C36402C; Fri, 23 May 2008 13:02:30 -0500 (CDT) Message-ID: <483706BA.1080403@frostconsultingllc.com> Date: Fri, 23 May 2008 11:02:34 -0700 From: Jeff Frost Organization: Frost Consulting, LLC User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Carol Walter CC: pgsql-admin@postgresql.org Subject: Re: Continuing issues... Can't vacuum! References: <5897F703-1525-477B-8749-80A0A4E0A656@indiana.edu> In-Reply-To: <5897F703-1525-477B-8749-80A0A4E0A656@indiana.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-FSL-MailScanner-Information: Please contact postmaster@01.com for more information X-FSL-MailScanner: Found to be clean X-FSL-MailScanner-SpamCheck: X-FSL-MailScanner-From: jeff@frostconsultingllc.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/202 X-Sequence-Number: 29286 Carol Walter wrote: > > vacuumdb: vacuuming database "km" > NOTICE: number of page slots needed (2275712) exceeds max_fsm_pages > (200000) > HINT: Consider increasing the configuration parameter "max_fsm_pages" > to a value over 2275712. > > The problem is I've found the max_fsm_pages parameter in the > postgresql.conf file, but changing it doesn't seem to be having any > effect. So I'm going to ask some questions that are probably pretty > silly, but I hope you'll help me. First of all, perhaps the > postgresql.conf file that I am editing may not be the one that is > being read when the database server starts. There are several > postgresql.conf files on this system. How do I tell which one is the > one being read? > Carol, Do the following in psql: show config_file; You should get some output like so: config_file ------------------------------------- /var/lib/pgsql/data/postgresql.conf (1 row) Go forth and edit that file. :-) > The max_fsm_pages parameter says what the minimum setting is in the > file. Is there also a maximum? > I'm not sure I understand the question. max_fsm_pages is the maximum number of pages to be used in the free space map. See Jim Nasby's article here: http://decibel.org/~decibel/pervasive/fsm.html > I can't back up my database with the error right now, because of the > error. I have a backup but I'm afraid to restore it. I feel like I > have many indices that are bloated and I want to get the databases > vacuumed before I start trying to create and load a new database. I'm > concerned that there won't be enough index space for the system to > sort and copy the indices. What's the error? All I see in this email is a warning about max_fsm_pages and that should not stop you from doing a pg_dump. -- Jeff Frost, Owner Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 650-780-7908 FAX: 650-649-1954