Re: Autovacuum improvements - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Autovacuum improvements
Date
Msg-id 12691.1168803789@sss.pgh.pa.us
Whole thread Raw
In response to Autovacuum improvements  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Autovacuum improvements
Enabling autovacuum by default (was Re: Autovacuum improvements)
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I've been thinnking how to improve autovacuum so that we can convince
> more people that it can be enabled by default.  Here are my thoughts.
> There are two areas of improvements:

> 1. scheduling, and
> 2. process handling, i.e., how to have multiple vacuum processes running
>    at any time.

Actually the reason it's not enabled by default today has nothing to do
with either of those; it's

3. Unexpected side effects on foreground processes, such as surprising
failures of DROP DATABASE commands.  (See archives for details.)

Until (3) is addressed I don't think there is any chance of having
autovac on by default, and so worrying about (1) and (2) seems a bit
premature.  Or at least, if you want to work on those fine, but don't
expect that it will alter the fact that the factory default is "off".
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Autovacuum improvements
Next
From: Alvaro Herrera
Date:
Subject: Re: Autovacuum improvements