Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum) - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum)
Date
Msg-id CAOR=d=206oJiZ_mkencYONYToSeTsbGuAu9s_9KkkwDz9hgi-w@mail.gmail.com
Whole thread Raw
In response to Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum)  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum)
List pgsql-general
On Sat, Nov 10, 2012 at 2:12 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> On Fri, Nov 9, 2012 at 5:56 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
>>
>> As well, since the default nap time is 1 minute, it will take at least
>> 50 minutes to vacuum each db as nap time is how long autovac waits
>> between databases.
>
> That isn't how it works.  The naptime is per database, not per
> cluster.  If the naptime is 1 minute and there are 50 "active"
> databases, then it will launch a new worker every 1.2 seconds
> (assuming the old ones finish fast enough that doing so would not
> exceed autovacuum_max_workers)

Hmmm.  That was not my understanding from previous discussions on nap time.


pgsql-general by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum)
Next
From: Chris Angelico
Date:
Subject: Re: PG defaults and performance (was Re: Unexpectedly high disk space usage RESOLVED (Manual reindex/vacuum))