Re: Having problems with a 25 million row table on 8.1.3

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Having problems with a 25 million row table on 8.1.3
Дата
Msg-id 20060425201554.GF20309@svana.org
обсуждение исходный текст
Ответ на Having problems with a 25 million row table on 8.1.3  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Список 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.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Having problems with a 25 million row table on 8.1.3
Следующее
От: "Don Walker"
Дата:
Сообщение: Please comment on the following OpenFTS/tsearch2 issues!