Re: IN list processing performance (yet again) - Mailing list pgsql-performance

From Bruno Wolff III
Subject Re: IN list processing performance (yet again)
Date
Msg-id 20030528183914.GA6118@wolff.to
Whole thread Raw
In response to Re: IN list processing performance (yet again)  (Dave Tenny <tenny@attbi.com>)
Responses Re: IN list processing performance (yet again)  (Dave Tenny <tenny@attbi.com>)
List pgsql-performance
On Wed, May 28, 2003 at 14:08:02 -0400,
  Dave Tenny <tenny@attbi.com> wrote:
> Andreas Pflug wrote:
>
> I'm reminded to relay to the PostgreSQL devos that I might be able to do
> more in the  join or subquery department if
> PostgreSQL had better performing MAX functions and a FIRST function for
> selecting rows from groups.
> ("Performing" being the operative word here, since the extensible
> architecture of PostgreSQL currently makes for poorly
> performing MAX capabilities and presumably similar user defined
> aggregate functions).

Have you tried replacing max with a subselect that uses order by and limit?

pgsql-performance by date:

Previous
From: Mario Weilguni
Date:
Subject: Re: IN list processing performance (yet again)
Next
From: Bruno Wolff III
Date:
Subject: Re: IN list processing performance (yet again)