Re: A slow query - Help please?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: A slow query - Help please?
Дата
Msg-id 9e4684ce0606201121m22449830m6dea3d730b775deb@mail.gmail.com
обсуждение исходный текст
Ответ на Re: A slow query - Help please?  (Alban Hertroys <alban@magproductions.nl>)
Список pgsql-general
On 6/19/06, Alban Hertroys <alban@magproductions.nl> wrote:
I found a way that works, and is indeed quite a bit faster. It is even
uglier than what you proposed. The problem wasn't the "order by" in the
subquery, but the "order by" combined with the "union":


sorry, i always forget about  the fact that union doesn't like internal order and limits. subquery is of course perfectly fine - i'm glad you found that :)

depesz

--
http://www.depesz.com/ - nowy, lepszy depesz

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

Предыдущее
От: "Jasbinder Bali"
Дата:
Сообщение: Re: Help requd in writing functions in C and using in Postgres
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Exporting data from view