Re: query optimization question - Mailing list pgsql-performance

From Tom Lane
Subject Re: query optimization question
Date
Msg-id 25064.1075399504@sss.pgh.pa.us
Whole thread Raw
In response to Re: query optimization question  (Jack Coates <jack@lyris.com>)
Responses Re: query optimization question
List pgsql-performance
Jack Coates <jack@lyris.com> writes:
> That completed in 3.5 minutes on MS-SQL. I killed the query this morning
> after 15 hours on PostgreSQL 7.4. I tried a GROUP BY memberid_ HAVING
> variation, which completed in 59 seconds on MS-SQL. I killed it after 35
> minutes on PostgreSQL.

Hm.  I'd like to think that 7.4 would be competitive on grouping
queries.  What sort of plan did you get from it?

            regards, tom lane

pgsql-performance by date:

Previous
From: Jack Coates
Date:
Subject: Re: query optimization question
Next
From: Josh Berkus
Date:
Subject: Re: On the performance of views