Skip site navigation (1) Skip section navigation (2)

Re: monitoring fragmentation

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Kasia Tuszynska <ktuszynska(at)esri(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: monitoring fragmentation
Date: 2008-01-31 00:52:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-adminpgsql-general
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 for more 



In response to

pgsql-admin by date

Next:From: Chander GanesanDate: 2008-01-31 12:21:37
Subject: Re: [GENERAL] Backup
Previous:From: Kasia TuszynskaDate: 2008-01-30 18:33:13
Subject: monitoring fragmentation

pgsql-general by date

Next:From: Peter WilsonDate: 2008-01-31 00:55:28
Subject: Re: Is PostGreSql's Data storage mechanism "inferior"?
Previous:From: Richard Broersma JrDate: 2008-01-31 00:22:47
Subject: Re: Is PostGreSql's Data storage mechanism "inferior"?

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group