Re: Single pass vacuum - take 1

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Single pass vacuum - take 1
Date: 2011-07-19 16:06:49
Message-ID: 1311091433-sup-5864@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Pavan Deolasee's message of lun jul 18 14:50:03 -0400 2011:
> On Mon, Jul 18, 2011 at 3:14 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:

> > I will be happy to remove it again when we have shown there are no
> > bugs.... getting this wrong is a data loss issue.
>
> Though I understand the fear for data loss, do we have much precedent of
> adding GUC to control such mechanism ? Even for complex feature like HOT we
> did not add any GUC to turn it off and I don't think we missed it. So I
> would suggest we review the code and test the feature extensively and fix
> the bugs if any, but lets not add any GUC to turn it off. In fact, the code
> and algorithm itself is not that complex and I would suggest you to take a
> look at the patch.

Yeah. Having two implementations is much worse. We're going to have
databases upgraded from previous versions that had the old behavior for
a while and then switched (when pg_upgraded), and also databases that
only have the new behavior. That's complex enough. If we add a GUC,
we're going to have databases that ran with the new behavior for a
while, then switched to the old one, and maybe back and forth a few
times; debugging that kind of stuff is going to be "interesting" (for
expensive values of interestingness).

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-07-19 16:09:24 Re: Commitfest Status: Sudden Death Overtime
Previous Message Tom Lane 2011-07-19 15:58:54 Re: proposal: a validator for configuration files