Обсуждение: pgstat delay in autovacuum

Поиск
Список
Период
Сортировка

pgstat delay in autovacuum

От
Alvaro Herrera
Дата:
Hi,

With the new request-based pgstat reading mechanism, it is easy to fix
an autovacuum "bug".  Basically for an autovac worker the delay is
reduced, so that the data is very fresh.  Patch attached.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Вложения

Re: pgstat delay in autovacuum

От
Tom Lane
Дата:
Alvaro Herrera <alvherre@commandprompt.com> writes:
> With the new request-based pgstat reading mechanism, it is easy to fix
> an autovacuum "bug".  Basically for an autovac worker the delay is
> reduced, so that the data is very fresh.  Patch attached.

It would be nice if the patch didn't render the adjacent comment a lie.
        regards, tom lane


Re: pgstat delay in autovacuum

От
Alvaro Herrera
Дата:
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > With the new request-based pgstat reading mechanism, it is easy to fix
> > an autovacuum "bug".  Basically for an autovac worker the delay is
> > reduced, so that the data is very fresh.  Patch attached.
> 
> It would be nice if the patch didn't render the adjacent comment a lie.

Yep, thanks -- fixed and committed.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.