Re: IN list processing performance (yet again)

Поиск
Список
Период
Сортировка
От Mario Weilguni
Тема Re: IN list processing performance (yet again)
Дата
Msg-id 200305282029.44152.mweilguni@sime.com
обсуждение исходный текст
Ответ на Re: IN list processing performance (yet again)  (Dave Tenny <tenny@attbi.com>)
Ответы Re: IN list processing performance (yet again)  (Dave Tenny <tenny@attbi.com>)
Список pgsql-performance
> 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).

MIN/MAX is almost in every case replaceable:
select bar
   from foo
 order by bar limit 1;

instead of
select max(bar) from foo;



В списке pgsql-performance по дате отправления:

Предыдущее
От: Dave Tenny
Дата:
Сообщение: Re: IN list processing performance (yet again)
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: IN list processing performance (yet again)