Re: [pgsql-advocacy] 8.2 -> 8.3 performance numbers - Mailing list pgsql-performance

From Simon Riggs
Subject Re: [pgsql-advocacy] 8.2 -> 8.3 performance numbers
Date
Msg-id 1185373345.4146.48.camel@ebony.site
Whole thread Raw
In response to Re: [pgsql-advocacy] 8.2 -> 8.3 performance numbers  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: [pgsql-advocacy] 8.2 -> 8.3 performance numbers  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-performance
On Wed, 2007-07-25 at 10:09 -0400, Merlin Moncure wrote:
> On 7/25/07, Simon Riggs <simon@2ndquadrant.com> wrote:
> >
> > Should you get the chance I would appreciate a comparative test for
> > TPC-E.
> >
> > 1. Normal TPC-E  versus
> > 2. TPC-E with all FKs against Fixed tables replaced with CHECK( col IN
> > (VALUES(x,x,x,...))) constraints on the referencing tables.
> >
> > I have reasonable evidence that Referential Integrity is the major
> > performance bottleneck and would like some objective evidence that this
> > is the case.
> >
> > No rush, since it will be an 8.4 thing to discuss and improve this
> > substantially in any of the ways I envisage.
>
> just a small 'me too' here, the RI penalty seems higher than it should
> be...especially when the foreign key table is very small, and I can
> see how this would impact benchmarks.

Any measurements to back that up would be appreciated. "Turning it off"
isn't really a valid comparison because we do want to make the checks
and expect there to be some cost to that. We just want to quantify the
cost to allow prioritising our efforts to improve performance on that.

--
  Simon Riggs
  EnterpriseDB  http://www.enterprisedb.com


pgsql-performance by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: [pgsql-advocacy] 8.2 -> 8.3 performance numbers
Next
From: Gregory Stark
Date:
Subject: Re: [pgsql-advocacy] 8.2 -> 8.3 performance numbers