Re: "SELECT IN" Still Broken in 7.4b

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "SELECT IN" Still Broken in 7.4b
Дата
Msg-id 18608.1061411539@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "SELECT IN" Still Broken in 7.4b  (Mike Winter <mike.winter@frontlogic.com>)
Ответы Re: "SELECT IN" Still Broken in 7.4b
Список pgsql-sql
Mike Winter <mike.winter@frontlogic.com> writes:
> 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.

How large is "large", and what plan type are you getting (seq scan or
multiple index scan)?  Is it possible that the cost comes from planner
overhead and not execution?  Checking EXPLAIN ANALYZE reported time
against actual elapsed time (cf psql's \timing option) would tell.
        regards, tom lane



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Table conversion query...
Следующее
От: "Aasmund Midttun Godal"
Дата:
Сообщение: Re: Before/After Trigger User Switching