pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jack Coates <jack@lyris.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: query optimization question
Date: Thu, 29 Jan 2004 13:05:04 -0500
Message-ID: <25064.1075399504@sss.pgh.pa.us> (raw)
In-Reply-To: <1075396980.7494.107.camel@cletus.lyris.com>
References: <1075338353.7494.71.camel@cletus.lyris.com>
	<10115.1075341889@sss.pgh.pa.us>
	<1075396980.7494.107.camel@cletus.lyris.com>

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



view thread (14+ messages)  latest in thread

Message-ID: <25064.1075399504@sss.pgh.pa.us>
Permalink:  ../25064.1075399504@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25064.1075399504@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jack@lyris.com
  Subject: Re: query optimization question
  In-Reply-To: <25064.1075399504@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox