Re: REINDEX requirement?

From: Robert Treat <rob(at)xzilla(dot)net>
To: Igor Neyman <ineyman(at)perceptron(dot)com>
Cc: AI Rumman <rummandba(at)gmail(dot)com>, pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: REINDEX requirement?
Date: 2010-11-10 21:40:20
Message-ID: AANLkTim8qY8qAJSLBz1upCB3=P6bw2UCeFCJ1YBWO8eN@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 9, 2010 at 1:51 PM, Igor Neyman <ineyman(at)perceptron(dot)com> wrote:

> > -----Original Message-----
> > From: AI Rumman [mailto:rummandba(at)gmail(dot)com]
> > Sent: Tuesday, November 09, 2010 3:26 AM
> > To: pgsql-general General
> > Subject: REINDEX requirement?
> >
> > How do I know that index require REINDEX?
> >
> >
>
> Look at the results of pgstatindex(...) function for specific index.
> It's part of pgstattupple contrib module - read it up in the docs.
>
>
If you are looking for a "poor mans" tool, we have a script that will output
numbers on table/index bloat. It's not entirely accurate (patches welcome),
but usually good enough to highlight the problems. See
http://labs.omniti.com/labs/pgtreats/log/trunk/tools/pg_bloat_report.pl

Robert Treat
play: http://www.xzilla.net
work: http://www.omniti.com/is/hiring

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-11-10 22:20:31 Re: NOTIFY/LISTEN why is not a callback as notice processing.
Previous Message Robert Treat 2010-11-10 21:21:49 Re: Why facebook used mysql ?