Re: RFC: changing autovacuum_naptime semantics - Mailing list pgsql-hackers

From Galy Lee
Subject Re: RFC: changing autovacuum_naptime semantics
Date
Msg-id 45F10198.3080506@oss.ntt.co.jp
Whole thread Raw
In response to Re: RFC: changing autovacuum_naptime semantics  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Er, why not just finish out the scan at the reduced I/O rate?  Any sort

Sometimes, you may need to vacuum large table in maintenance window and
hot table in the service time. If vacuum for hot table does not eat two
much foreground resource, then you can vacuum large table with a lower
IO rate outside maintenance window; but if vacuum for hot table is
overeating the system resource, then launcher had better to stop the
long running vacuum outside maintenance window.

But I am not insisting on the stop-start feature at this moment.
Changing the cost delay dynamically sounds more reasonable. We can use
it to balance total I/O of workers in service time or maintenance time.
It is not so difficult to achieve this by leveraging the share memory of
autovacuum.

Best Regards
Galy Lee


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: who gets paid for this
Next
From: Tom Lane
Date:
Subject: Re: Log levels for checkpoint/bgwriter monitoring