Re: Relpages not being recovered?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Adam Singer" <asinger(at)easyplanet(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Relpages not being recovered?
Date: 2002-09-05 16:46:53
Message-ID: 25560.1031244413@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Adam Singer" <asinger(at)easyplanet(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2002-09-05 16:49:41 Re: turn off auto-commit
Previous Message Bruce Momjian 2002-09-05 16:44:15 Re: HELP !!!! Deleted the content of bin directory