Re: Having problems with a 25 million row table on 8.1.3 - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Having problems with a 25 million row table on 8.1.3
Date
Msg-id 20060425201554.GF20309@svana.org
Whole thread Raw
In response to Having problems with a 25 million row table on 8.1.3  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List pgsql-general
On Tue, Apr 25, 2006 at 03:10:32PM -0500, Tony Caduto wrote:
> Hi,
> I have a client who has a 25 million row table that is used to keep
> track of financial security info.
> So far it has worked great, but today someone wanted to get all the tax
> codes(there are lot's of dupes) from the table.
> So we tried this:
>
> select DISTINCT tax_code from warehouse.sec_trans
> We let this run for 1/2 hour or so and canceled it.

What plan did it want to use (EXPLAIN query)? What version of
PostgreSQL? How many results are you expecting?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: Having problems with a 25 million row table on 8.1.3
Next
From: "Don Walker"
Date:
Subject: Please comment on the following OpenFTS/tsearch2 issues!