Re: "SELECT IN" Still Broken in 7.4b

Поиск
Список
Период
Сортировка
От Mike Winter
Тема Re: "SELECT IN" Still Broken in 7.4b
Дата
Msg-id Pine.LNX.4.33L2.0308201247550.6023-100000@frontlogic.com
обсуждение исходный текст
Ответ на Re: "SELECT IN" Still Broken in 7.4b  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: "SELECT IN" Still Broken in 7.4b
Re: "SELECT IN" Still Broken in 7.4b
Список pgsql-sql
On Wed, 20 Aug 2003, Rod Taylor wrote:

> Ensure your IN list is unique.  You might find better times by through
> an indexed temp table.

That is what I ended up doing, but it's not a very elegant solution.
MySQL does queries of this type orders of magnitudes faster than Postgres
on large value lists, although I have no specific algorithmic solutions to
offer for how to make it faster.  I don't believe making the IN lists
unique has any affect on performance.

-- 
_______________________________________________________________________
Front Logic Inc.                                  Tel: 306.653.2725 x14
226 Pacific Ave                                   or 1.800.521.4510 x14
Saskatoon, SK                                     Fax: 306.653.0972
S7K 1N9  Canada                      Cell: 306.717.2550
http://www.frontlogic.com                   mike.winter@frontlogic.com




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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: "SELECT IN" Still Broken in 7.4b
Следующее
От: Joe Conway
Дата:
Сообщение: Re: "SELECT IN" Still Broken in 7.4b