Re: REINDEX or DROP and CREATE ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: REINDEX or DROP and CREATE ?
Дата
Msg-id 14228.1061164442@sss.pgh.pa.us
обсуждение исходный текст
Ответ на REINDEX or DROP and CREATE ?  ("Gaetano Mendola" <mendola@bigfoot.com>)
Список pgsql-admin
"Gaetano Mendola" <mendola@bigfoot.com> writes:
> what the difference ( apart a windows without index ) between
> REINDEX a TABLE
> or DROP each index and CREATE it again?

Not much.

> I'm worried about the type of locks involved.

I'm pretty sure either course will take an exclusive lock on the table.

            regards, tom lane

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

Предыдущее
От: "Gaetano Mendola"
Дата:
Сообщение: REINDEX or DROP and CREATE ?
Следующее
От: "Anagha Joshi"
Дата:
Сообщение: Connection Timeout