Re: Way to determine index bloat stats?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Amiel <jamiel(at)istreamimaging(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Way to determine index bloat stats?
Date: 2007-07-05 18:20:25
Message-ID: 19801.1183659625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Amiel <jamiel(at)istreamimaging(dot)com> writes:
> Is there some magic way of determining the number of bytes in an index
> 'row' and then comparing the size on disk of the index file?

In recent releases contrib/pgstattuple/ has a function for obtaining
stats about an index.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ranieri Mazili 2007-07-05 19:00:40 Working with dates
Previous Message Joshua D. Drake 2007-07-05 17:52:38 Re: [pgsql-general] In memory tables/databases