Re: free space map

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Chris Hoover <revoohc(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: free space map
Date: 2006-06-20 15:09:46
Message-ID: 20060620150946.GN26882@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Benjamin Krajmalnik 2006-06-20 15:20:22 Re: truncate partitioned table locking
Previous Message Alex. N. Karpov 2006-06-20 15:02:52 Troubles with starting postgresql