Re: Reindex - Is this necessary after a vacuum? - Mailing list pgsql-performance

From Tom Lane
Subject Re: Reindex - Is this necessary after a vacuum?
Date
Msg-id 13827.1130250428@sss.pgh.pa.us
Whole thread Raw
In response to Reindex - Is this necessary after a vacuum?  (Markus Benne <thing@m-bass.com>)
List pgsql-performance
Markus Benne <thing@m-bass.com> writes:
> Our table in question is vacuumed every 4 minutes, and
> we are reindexing after each one.

That's pretty silly.  You might need a reindex once in awhile, but
not every time you vacuum.

The draft 8.1 docs contain some discussion of possible reasons for
periodic reindexing:
http://developer.postgresql.org/docs/postgres/routine-reindex.html
but none of these reasons justify once-per-vacuum reindexes.

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: insertion of bytea
Next
From: Kishore B
Date:
Subject: Re: Why Index is not working on date columns.