Re: free space map

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: free space map
Дата
Msg-id 20060620150946.GN26882@surnet.cl
обсуждение исходный текст
Ответ на free space map  ("Chris Hoover" <revoohc@gmail.com>)
Ответы Re: free space map  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Chris Hoover"
Дата:
Сообщение: free space map
Следующее
От: "Benjamin Krajmalnik"
Дата:
Сообщение: Re: truncate partitioned table locking