Re: (auto)vacuum truncate exclusive lock

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: (auto)vacuum truncate exclusive lock
Дата
Msg-id 20824.1365787288@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: (auto)vacuum truncate exclusive lock  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-04-12 13:09:02 -0400, Tom Lane wrote:
>> However, we're still thinking too small.  I've been wondering whether we
>> couldn't entirely remove the dirty, awful kluges that were installed in
>> the lock manager to kill autovacuum when somebody blocked behind it.
>> This mechanism should ensure that AV never takes an exclusive lock
>> for long enough to be a serious problem, so do we need that anymore?

> Wouldn't that make DROP TABLE stop working while autovac is processing
> the table?

Meh ... I guess you're right.  I wasn't thinking about exclusive locks
being taken elsewhere.
        regards, tom lane



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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: (auto)vacuum truncate exclusive lock
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Enabling Checksums