Re: Speeding up Aggregates

Поиск
Список
Период
Сортировка
От Dror Matalon
Тема Re: Speeding up Aggregates
Дата
Msg-id 20031003220358.GR87525@rlx11.zapatec.com
обсуждение исходный текст
Ответ на Re: Speeding up Aggregates  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Dror Matalon
Дата:
Сообщение: Re: Speeding up Aggregates
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Speeding up Aggregates