Re: pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Tom Lane <tgl(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...
Date: 2002-11-21 01:05:04
Message-ID: 200211210105.gAL154127352@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Christopher Kings-Lynne wrote:
> > Log message:
> > Finish implementation of hashed aggregation. Add enable_hashagg GUC
> > parameter to allow it to be forced off for comparison purposes.
> > Add ORDER BY clauses to a bunch of regression test queries that will
> > otherwise produce randomly-ordered output in the new regime.
>
> Out of interest (since I was away while this was proposed I assume),
> what's the idea with hashed aggergation? I assume each group is now in a
> hash bucket? How did it work before?

It sequential scanned the group of possible matches. How it hashes the
value and looks for matches that way --- much faster and the way most
db's do it.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-11-21 03:30:20 Re: [COMMITTERS] pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...
Previous Message Bruce Momjian 2002-11-21 01:04:06 Re: [COMMITTERS] pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...

Browse pgsql-hackers by date

  From Date Subject
Next Message Henry B. Hotz 2002-11-21 01:22:14 Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?)
Previous Message Bruce Momjian 2002-11-21 01:04:06 Re: [COMMITTERS] pgsql-server/ oc/src/sgml/runtime.sgml rc/back ...