Enabling autovacuum by default (was Re: Autovacuum improvements)

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Enabling autovacuum by default (was Re: Autovacuum improvements)
Date: 2007-01-16 14:13:36
Message-ID: 20070116141336.GU24671@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:

> 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".

With that taken care of, do I dare propose enabling autovacuum by
default, so that further changes will be picked up quickly by the
buildfarm?

Attached is a patch to do so, based on Peter's last attempt at doing
this.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Attachment Content-Type Size
autovacuum-enable.patch text/x-diff 4.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2007-01-16 14:23:36 Re: Autovacuum improvements
Previous Message Gregory Stark 2007-01-16 14:13:28 Re: Function execution costs 'n all that

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2007-01-16 14:23:36 Re: Autovacuum improvements
Previous Message Dave Page 2007-01-16 11:32:09 pg_dumpall -f <filename> option