Re: [PATCHES] updated hash functions for postgresql v1

From: Kenneth Marshall <ktm(at)rice(dot)edu>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] updated hash functions for postgresql v1
Date: 2009-01-10 17:06:56
Message-ID: 20090110170655.GA8380@it.is.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 09, 2009 at 02:00:39PM -0800, Jeff Davis wrote:
> On Fri, 2009-01-09 at 14:29 -0600, Kenneth Marshall wrote:
> > Jeff,
> >
> > Thanks for the review. I would not really expect any differences in hash
> > index build times other than normal noise variances. The most definitive
> > benchmark that I have seen was done with my original patch submission
> > in March posted by Luke of Greenplum:
> >
> > "We just applied this and saw a 5 percent speedup on a hash aggregation
> > query with four columns in a 'group by' clause run against a single
> > TPC-H table."
> >
> > I wonder if they would be willing to re-run their test? Thanks again.
>
> Separating mix() and final() should have some performance benefit,
> right?
>
> Regards,
> Jeff Davis
>
>
Yes, it does but the results can be swamped by other latencies in the
code path. Tests such as Tom's benchmark of the underlying functions is
needed to isolate the timings effectively or a benchmark like Greenplum's
that will benefit from a more efficient function.

Ken

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2009-01-10 18:16:34 Re: [PATCHES] updated hash functions for postgresql v1
Previous Message Hiroshi Saito 2009-01-10 16:04:18 Re: Re: [COMMITTERS] pgsql: Explicitly bind gettext() to the UTF8 locale when in use.