Re: monitoring fragmentation - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: monitoring fragmentation
Date
Msg-id 47A11BD2.6070908@lelarge.info
Whole thread Raw
In response to monitoring fragmentation  ("Kasia Tuszynska" <ktuszynska@esri.com>)
List pgsql-admin
Kasia Tuszynska wrote:
> I am searching for a pg_xxxxx view that would allow me to view the
> properties of an index.
> - the fillfactor it was created with

Catalog pg_class, column reloptions.

> - the amount of free space on a page(s) storing the index ( assuming
> that it was created with a fillfactor and the index has incurred updates
> since the creation taking up some space reserved by the fillfactor
> during the load).
>
> The usage of a fillfactor nor fragmentation info does not get displayed
> in pgAdminIII.

Fillfactor information is available with pgAdmin III 1.8.

  In SQL Server 2005 the analogous views would be:
> Obcc showcontig and sys.dm_index_physical_stats
>
> Perhaps there is another way to determine fragmentation of indexes in
> Postgres, any hint would be much appreciated.
>

Try pgstattuple module contrib. See
http://www.postgresql.org/docs/8.3/static/pgstattuple.html for more
informations.

Regards.


--
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com

pgsql-admin by date:

Previous
From: "Kasia Tuszynska"
Date:
Subject: monitoring fragmentation
Next
From: Chander Ganesan
Date:
Subject: Re: [GENERAL] Backup