Re: Speeding up Aggregates - Mailing list pgsql-performance

From Dror Matalon
Subject Re: Speeding up Aggregates
Date
Msg-id 20031003220358.GR87525@rlx11.zapatec.com
Whole thread Raw
In response to Re: Speeding up Aggregates  (Josh Berkus <josh@agliodbs.com>)
List pgsql-performance
On Fri, Oct 03, 2003 at 02:35:46PM -0700, Josh Berkus wrote:
> Dror,
>
> > I am using 7.4, and had tried NOT EXISTS and didn't see any
> > improvements.
>
> It wouldn't if you're using 7.4, which has improved IN performance immensely.
>
> What happens if you stop using a function and instead use a subselect?

An improvement. Now I'm getting in the 200 msec response time.

And by the way, I tried "not exists" again and it actually runs slower
than "not in."

>
> --
> -Josh Berkus
>  Aglio Database Solutions
>  San Francisco
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly

--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.zapatec.com

pgsql-performance by date:

Previous
From: Dror Matalon
Date:
Subject: Re: Speeding up Aggregates
Next
From: Rod Taylor
Date:
Subject: Re: Speeding up Aggregates