Re: Should duplicate indexes on same column and same table be allowed?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Should duplicate indexes on same column and same table be allowed?
Дата
Msg-id 18891.1165686391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Should duplicate indexes on same column and same table be allowed?  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
Ответы Re: Should duplicate indexes on same column and same table be allowed?
Re: Should duplicate indexes on same column and same tablebe allowed?
Список pgsql-admin
"Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes:
> Suppose an index get corrupted. And you need create a new index
> with exact specs and then drop the old index. Is it better to
> have a performing corrupted index or not have it at all and temporarily
> suffer some performance degradation ?

The case that was being discussed just a day or two ago was where you
wanted to do the equivalent of REINDEX because of index bloat, not any
functional "corruption".  In that case it's perfectly clear that
temporarily not having the index isn't acceptable ... especially if
it's enforcing a unique constraint.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: reloading config files pg_ctl reload
Следующее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: Should duplicate indexes on same column and same table be allowed?