bug? autovacuum is not launched even if autovacuum_freeze_max_age is reached

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема bug? autovacuum is not launched even if autovacuum_freeze_max_age is reached
Дата
Msg-id 3f0b79eb1002160134m566f71e4t7685f1a9c947e307@mail.gmail.com
обсуждение исходный текст
Ответы Re: bug? autovacuum is not launched even if autovacuum_freeze_max_age is reached  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Hi,

In HEAD, when autovacuum is disabled, autovacuum process is not
launched forcibly to prevent XID wraparound even if we go through
autovacuum_freeze_max_age. This seems to be because
ShmemVariableCache->xidVacLimit is not initialized (i.e.,
SetTransactionIdLimit() is not called) until VACUUM is performed.

OTOH, in older version, ShmemVariableCache->xidVacLimit is always
initialized when backend updates the flat database file, and then
autovacuum process seems to be launched forcibly as expected.

Is this bug? I guess that it derives from the changes around flag
file done a while ago.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: xpath improvement V2
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication on win32, still broken