Re: Problems with autovacuum - Mailing list pgsql-performance

From Tom Lane
Subject Re: Problems with autovacuum
Date
Msg-id 16822.1243364479@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems with autovacuum  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Problems with autovacuum
List pgsql-performance
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Sorry, it's the other way around actually -- correct for 8.3 onwards,
> wrong for 8.1 and 8.2.  In the earlier versions, it would do one run in
> a chosen database, sleep during "naptime", then do another run.

> Tom Lane escribió:
>> I suppose the use of "minimum" means that this is not technically
>> incorrect, but it's sure not very helpful if there is some other
>> rule involved that causes it to not behave as I said.  (And if there
>> is some other rule, what is that?)

> The word "minimum" is there because it's possible that all workers are
> busy with some other database(s).

>> Please improve the docs.

> I'll see about that.

Hmm, maybe we need to improve the code too.  This example suggests that
there needs to be some limit on the worker launch rate, even if there
are so many databases that that means we don't meet naptime exactly.

            regards, tom lane

pgsql-performance by date:

Previous
From: Łukasz Jagiełło
Date:
Subject: Re: Problems with autovacuum
Next
From: Greg Smith
Date:
Subject: Hosted servers with good DB disk performance?