Re: Reindex - Is this necessary after a vacuum?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: markus(at)m-bass(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Reindex - Is this necessary after a vacuum?
Date: 2005-10-25 14:27:08
Message-ID: 13827.1130250428@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Markus Benne <thing(at)m-bass(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Kishore B 2005-10-25 15:04:21 Re: Why Index is not working on date columns.
Previous Message Tom Lane 2005-10-25 14:23:20 Re: insertion of bytea