Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B1BCE476CB7 for ; Thu, 5 Sep 2002 12:46:50 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id EFE9A476CB1 for ; Thu, 5 Sep 2002 12:46:49 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g85GkrZM025561; Thu, 5 Sep 2002 12:46:53 -0400 (EDT) To: "Adam Singer" Cc: pgsql-admin@postgresql.org Subject: Re: Relpages not being recovered? In-reply-to: References: Comments: In-reply-to "Adam Singer" message dated "Wed, 04 Sep 2002 15:44:44 +0200" Date: Thu, 05 Sep 2002 12:46:53 -0400 Message-ID: <25560.1031244413@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/48 X-Sequence-Number: 5587 "Adam Singer" writes: > After deleting unecessary tuples, reindexing, and vacuuming, pg_class gives= > the following: Did you VACUUM FULL, or just VACUUM? > Does anyone know what may be causing this and if there is a way to force th= > e relpages column to be recalculated? I can assure you that relpages is correct after a vacuum --- look at the physical file for the table if you want to confirm it. The answer you are probably really looking for is some combination of more-frequent vacuums and increasing your FSM configuration parameters so that free space in the table is recycled more effectively. Try searching the list archives for "free space map". regards, tom lane