From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>, alvherre(at)commandprompt(dot)com, peter_e(at)gmx(dot)net, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] pg_freespacemap question |
Date: | 2006-04-26 22:46:18 |
Message-ID: | 200604262246.k3QMkIL20496@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Patch applied. Thanks.
---------------------------------------------------------------------------
Mark Kirkwood wrote:
> Mark Kirkwood wrote:
> > Tom Lane wrote:
> >
> >>
> >> I do notice a rather serious shortcoming of pg_freespacemap in its
> >> current incarnation, which is that it *only* shows you the per-page free
> >> space data, and not any of the information that would let you determine
> >> what the FSM is doing to filter the raw data. The per-relation
> >> avgRequest and lastPageCount fields would be interesting for instance.
> >> Perhaps there should be a second view with one row per relation to
> >> carry the appropriate data.
> >>
> >
> > Ok - I did wonder about 2 views, but was unsure if the per-relation
> > stuff was interesting. Given that it looks like it is interesting, I'll
> > see about getting a second view going.
> >
>
> This patch implements the second view for FSM relations. I have renamed
> the functions and views to be:
>
> pg_freespacemap_relations
> pg_freespacemap_pages
>
> This patch depends on the previous one (which was called simply
> 'pg_freespacemap.patch').
>
> Cheers
>
> Mark
[ application/gzip is not supported, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-04-26 22:46:34 | Re: [HACKERS] Enhanced containment selectivity function |
Previous Message | Tom Lane | 2006-04-26 22:42:53 | Re: Catalog Access (was: [GENERAL] Concurrency problem |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-04-26 22:46:34 | Re: [HACKERS] Enhanced containment selectivity function |
Previous Message | Bruce Momjian | 2006-04-26 22:41:25 | Re: [HACKERS] pg_freespacemap question |