Re: Querying distinct values from a large table - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Querying distinct values from a large table
Date
Msg-id 20070130170443.GJ2303@alvh.no-ip.org
Whole thread Raw
In response to Re: Querying distinct values from a large table  (Gregory Stark <gsstark@mit.edu>)
Responses Re: Querying distinct values from a large table  ("Luke Lonergan" <llonergan@greenplum.com>)
Re: Querying distinct values from a large table  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Gregory Stark 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.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-performance by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Querying distinct values from a large table
Next
From: "Luke Lonergan"
Date:
Subject: Re: Querying distinct values from a large table