Re: Cause of moving-target FSM space-needed reports

From: Kevin Brown <kevin(at)sysexperts(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cause of moving-target FSM space-needed reports
Date: 2006-09-21 20:20:43
Message-ID: 20060921202043.GG11514@filer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> In fact, maybe vacuum should just throw a WARNING when it
> finds a single rel with more than MaxFSMPages pages with useful free
> space?

I fully agree with this. This (in particular, how many useful free
pages a rel has) is information a good DBA can make very good use of,
and is needed in the case where it exceeds MaxFSMPages.

I would also suggest having vacuum verbose print an INFO message with
the rel's number of free pages for rels that don't exceed MaxFSMPages
(that number should be printed in the WARNING when the number exceeds
MaxFSMPages).

Are there other ways of getting this information from the system? If
not, then I'd consider this proposed change important.

--
Kevin Brown kevin(at)sysexperts(dot)com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-09-21 20:31:22 pgsql: Fix free space map to correctly track the total amount of FSM
Previous Message Jim C. Nasby 2006-09-21 20:05:36 Re: Release Notes: Major Changes in 8.2