From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adam Singer <asinger@easyplanet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Relpages not being recovered?
Date: Thu, 05 Sep 2002 12:46:53 -0400
Message-ID: <25560.1031244413@sss.pgh.pa.us> (raw)
In-Reply-To: <EFDE174C81D5264AA89AB15AEC039A86025A77@epfr01.easyplanet.com>
References: <EFDE174C81D5264AA89AB15AEC039A86025A77@epfr01.easyplanet.com>
"Adam Singer" <asinger@easyplanet.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, asinger@easyplanet.com
Subject: Re: Relpages not being recovered?
In-Reply-To: <25560.1031244413@sss.pgh.pa.us>
References: <EFDE174C81D5264AA89AB15AEC039A86025A77@epfr01.easyplanet.com> <25560.1031244413@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox