Re: 8.4 release planning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 8.4 release planning
Date
Msg-id 18701.1233078761@sss.pgh.pa.us
Whole thread Raw
In response to Re: 8.4 release planning  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: 8.4 release planning  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jan 27, 2009 at 11:49 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It would prevent us from making optimizations that assume foreign key
>> constraints hold; which is a performance issue not a covert-channel
>> issue.

> Oh, I see now.  That problem is going to be common to row-level DAC
> and SE-PostgreSQL proper.  It would not surprise me if any sort of
> row-level access control turns out to be bad for performance, but
> mainly because the overhead of checking permissions on every tuple is
> bound to cost something.

Right, but you expect that to be a small and predictable cost, say in
the single-digits-percentage range.  Plan optimizations that
suddenly stop happening can cost you multiple orders of magnitude.
And you won't soothe people by telling them that obsolete versions of
Postgres would have been that slow all the time.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: gin fast insert performance
Next
From: Heikki Linnakangas
Date:
Subject: Re: Hot standby, recovery infrastructure