Re: Enabling autovacuum by default (was Re: Autovacuum

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Enabling autovacuum by default (was Re: Autovacuum
Date: 2007-01-16 15:03:57
Message-ID: 20070116150357.GA24671@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan wrote:
> Alvaro Herrera wrote:
> >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?
>
> I should have thought most autovacuum problems would only become evident
> after significant running time, while buildfarm runs are quite short.

Well, the last time we enabled autovacuum by default (during 8.2's beta
period) there were some buildfarm failures right away, which is why it
was disabled.

On the other hand, it will help uncover possible portability problems in
the code that will be newly written.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Darcy Buskermolen 2007-01-16 15:16:43 Re: [HACKERS] Autovacuum Improvements
Previous Message Alvaro Herrera 2007-01-16 14:29:18 Re: [HACKERS] Autovacuum Improvements

Browse pgsql-patches by date

  From Date Subject
Next Message Darcy Buskermolen 2007-01-16 15:30:41 Re: Autovacuum improvements
Previous Message Andrew Dunstan 2007-01-16 14:27:53 Re: Enabling autovacuum by default (was Re: Autovacuum