Re: Querying distinct values from a large table

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Luke Lonergan <llonergan(at)greenplum(dot)com>
Cc: Gregory Stark <gsstark(at)mit(dot)edu>, Chad Wagner <chad(dot)wagner(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Igor Lobanov <ilobanov(at)swsoft(dot)com>, Richard Huxton <dev(at)archonet(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Querying distinct values from a large table
Date: 2007-01-30 21:03:03
Message-ID: 20070130210303.GA2178@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Luke Lonergan wrote:
> Alvaro,
>
> On 1/30/07 9:04 AM, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com> wrote:
>
> >> (Incidentally I'm not sure where 2-5x comes from. It's entirely dependant on
> >> your data distribution. It's not hard to come up with distributions where
> >> it's
> >> 1000x as fast and others where there's no speed difference.)
> >
> > So the figure is really "1-1000x"? I bet this one is more impressive in
> > PHB terms.
>
> You got me - I'll bite - what's PHB?

Pointy-Haired Boss, a term (AFAIK) popularized by the Dilbert comic strip.

Why, I just noticed there's even a Wikipedia entry:
http://en.wikipedia.org/wiki/Pointy_Haired_Boss
It seems people enjoy writing hypothetically about their bosses.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Sidar López Cruz 2007-01-30 21:09:23 Very slow queries
Previous Message Steinar H. Gunderson 2007-01-30 21:01:04 Re: Querying distinct values from a large table