Re: Online index builds

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Online index builds
Дата
Msg-id 22074.1165535500@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Online index builds  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Online index builds  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-general
Jeff Davis <pgsql@j-davis.com> writes:
> After reading through the archives, it looks like Gregory Stark
> suggested a REINDEX CONCURRENTLY, which would certainly solve the
> awkwardness of maintenance on a primary key. I didn't see much
> objection, maybe it's worth consideration for 8.3?

That idea was bounced on the grounds that it requires a DROP INDEX to
occur somewhere, and that can't be concurrent, and you'd surely not like
to go through all the work of a CONCURRENTLY rebuild only to get a
deadlock failure at the very end.

            regards, tom lane

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

Предыдущее
От: greg@bryantrecording.com
Дата:
Сообщение: porting time calcs to PG
Следующее
От: Ragnar
Дата:
Сообщение: Re: Online index builds