Re: monitoring fragmentation

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: monitoring fragmentation
Дата
Msg-id 47A11BD2.6070908@lelarge.info
обсуждение исходный текст
Ответ на monitoring fragmentation  ("Kasia Tuszynska" <ktuszynska@esri.com>)
Список 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 по дате отправления:

Предыдущее
От: "Kasia Tuszynska"
Дата:
Сообщение: monitoring fragmentation
Следующее
От: Chander Ganesan
Дата:
Сообщение: Re: [GENERAL] Backup