Re: Help tuning postgres

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Help tuning postgres
Дата
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3417DD59C@Herge.rcsinc.local
обсуждение исходный текст
Ответ на Help tuning postgres  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-performance
>
> Would it not be faster to do a dump/reload of the table than reindex
or
> is it about the same?
>
reindex is probably faster, but that's not the point. you can reindex a
running system whereas dump/restore requires downtime unless you work
everything into a transaction, which is headache, and dangerous.

reindex locking is very granular, in that it only acquires a excl. lock
on one index at a time and while doing so reading is possible (writes
will wait).

in 8.1 we get a fire and forget reindex database xyz which is about as
good as it gets without a dump/load or full vacuum.

Merlin

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

Предыдущее
От: Steve Poe
Дата:
Сообщение: Re: Help tuning postgres
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Help tuning postgres