From: Alvaro Herrera <alvherre@commandprompt.com>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: free space map
Date: Tue, 20 Jun 2006 11:09:46 -0400
Message-ID: <20060620150946.GN26882@surnet.cl> (raw)
In-Reply-To: <1d219a6f0606200744y40714eb5sec53ed5aba3693cc@mail.gmail.com>
References: <1d219a6f0606200744y40714eb5sec53ed5aba3693cc@mail.gmail.com>
Chris Hoover wrote:
> Is there anyway to query the free space map and see how many entries there
> are for a specific table?
>
> We are starting to have some performance issues since our upgrade to
> 8.1(running
> 8.1.3). However I can vacuum one table and the issues are temporarily
> solved. I am trying to do some research and would like to know what the fsm
> looks like before and after I vacuum this table.
In CVS HEAD there is a pg_freespacemap contrib module that may do what
you need. You'd have to "backport" it to 8.1 though; it doesn't compile
as-is.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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: alvherre@commandprompt.com, revoohc@gmail.com
Subject: Re: free space map
In-Reply-To: <20060620150946.GN26882@surnet.cl>
References: <1d219a6f0606200744y40714eb5sec53ed5aba3693cc@mail.gmail.com> <20060620150946.GN26882@surnet.cl>
* 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