Re: pg_autovacuum not having enough suction ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_autovacuum not having enough suction ?
Дата
Msg-id 16180.1111792693@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_autovacuum not having enough suction ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: pg_autovacuum not having enough suction ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-performance
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> I'm not sure if autovacuum could be taught to do that --- it could
>> perhaps launch a vacuum as soon as it notices a large fraction of the
>> table got deleted, but do we really want to authorize it to launch
>> VACUUM FULL?

> One problem with VACUUM FULL would be autovacuum waiting for an
> exclusive lock on the table.  Anyway, it is documented now as a possible
> issue.

I don't care too much about autovacuum waiting awhile to get a lock.
I do care about other processes getting queued up behind it, though.

Perhaps it would be possible to alter the normal lock queuing semantics
for this case, so that autovacuum's request doesn't block later
arrivals, and it can only get the lock when no one is interested in the
table.  Of course, that might never happen, or by the time it does
there's no point in VACUUM FULL anymore :-(

            regards, tom lane

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_autovacuum not having enough suction ?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_autovacuum not having enough suction ?