Re: Per table autovacuum vacuum cost limit behaviour strange - Mailing list pgsql-hackers

From Mark Kirkwood
Subject Re: Per table autovacuum vacuum cost limit behaviour strange
Date
Msg-id 53672F63.3080400@catalyst.net.nz
Whole thread Raw
In response to Re: Per table autovacuum vacuum cost limit behaviour strange  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Per table autovacuum vacuum cost limit behaviour strange
List pgsql-hackers
On 05/05/14 15:22, Amit Kapila wrote:

> Here what I could understand is that sum of cost_limit for all
> autovacuum workers should never exceed the value of
> autovacuum_vacuum_cost_limit which seems to be always the
> case in current code but same is not true for proposed patch.
>

Right, but have a look at the 1st message in this thread - the current 
behavior (and to a large extent the above condition) means that setting
cost limits per table does not work in any remotely intuitive way.

ITSM that the whole purpose of a per table setting in this context is to 
override the behavior of auto vacuum throttling - and currently this 
does not happen unless you get real brutal (i.e setting the cost delay 
to zero in addition to setting cost limit...making the whole cost limit 
a bit pointless).

regards

Mark



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: 9.4 release notes
Next
From: Heikki Linnakangas
Date:
Subject: Re: Sending out a request for more buildfarm animals?