Re: reindex/vacuum locking/performance?

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: reindex/vacuum locking/performance?
Дата
Msg-id 1065219105.3068.43.camel@tokyo
обсуждение исходный текст
Ответ на Re: reindex/vacuum locking/performance?  (Rob Nagler <nagler@bivio.biz>)
Список pgsql-performance
On Fri, 2003-10-03 at 17:47, Rob Nagler wrote:
> They don't deadlock normally,
> only with reindex and vacuum did I see this behavior.

If you can provide a reproducible example of a deadlock induced by
REINDEX + VACUUM, that would be interesting.

(FWIW, I remember noticing a potential deadlock in the REINDEX code and
posting to -hackers about it, but I've never seen it occur in a
real-world situation...)

> One other question: The reindex seems to lock the table for the entire
> process as opposed to freeing the lock between index rebuilds.

Yeah, I wouldn't be surprised if there is some room for optimizing the
locks that are acquired by REINDEX.

-Neil



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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Speeding up Aggregates
Следующее
От: Dror Matalon
Дата:
Сообщение: Re: Speeding up Aggregates