Finding bloated indexes?

From: Dan Harris <fbsd(at)drivefaster(dot)net>
To: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Finding bloated indexes?
Date: 2007-04-13 20:01:40
Message-ID: 461FE1A4.70908@drivefaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Is there a pg_stat_* table or the like that will show how bloated an index is?
I am trying to squeeze some disk space and want to track down where the worst
offenders are before performing a global REINDEX on all tables, as the database
is rougly 400GB on disk and this takes a very long time to run.

I have been able to do this with tables, using a helpful view posted to this
list a few months back, but I'm not sure if I can get the same results on indexes.

Thanks

-Dan

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jan de Visser 2007-04-13 20:24:55 Re: Question about memory allocations
Previous Message Carlos Moreno 2007-04-13 18:53:53 Re: Question about memory allocations