Re: Reindex - Is this necessary after a vacuum?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reindex - Is this necessary after a vacuum?
Дата
Msg-id 13827.1130250428@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Reindex - Is this necessary after a vacuum?  (Markus Benne <thing@m-bass.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: insertion of bytea
Следующее
От: Kishore B
Дата:
Сообщение: Re: Why Index is not working on date columns.