SELECT TAKES A LOOOONG TIME

From: "Maksim Likharev" <mlikharev(at)aurigin(dot)com>
To: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: SELECT TAKES A LOOOONG TIME
Date: 2003-06-11 00:37:31
Message-ID: 56510AAEF435D240958D1CE8C6B1770A016D2D35@mailc03.aurigin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
could somebody explain me please why following select
SELECT docid FROM prod.guids
GROUP BY docid HAVING( COUNT(docid) > 1 )

taking 15 min on 2 Proc Box on 1M rows, where number of duplicates
around 300K,
and docid indexed and not null and char(16).

May be I am doing something wrong?
Thank you.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2003-06-11 00:41:17 Re: Feature freeze date
Previous Message Palle Girgensohn 2003-06-11 00:24:39 PostgreSQL client has problems when libbind is installed