Re: Use of subquery causes seq scan???

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Use of subquery causes seq scan???
Дата
Msg-id 22627.1082498311@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Use of subquery causes seq scan???  ("Chris Hoover" <revoohc@sermonaudio.com>)
Список pgsql-performance
"Chris Hoover" <revoohc@sermonaudio.com> writes:
> Select *
> from table a
> where inv_num in (select inv_num from table b where ....)

> I'm running 7.3.4 on RedHat EL 2.1.

IN (SELECT) constructs pretty well suck in PG releases before 7.4.
Update, or consult the FAQ about rewriting into an EXISTS form.

            regards, tom lane

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Wierd context-switching issue on Xeon
Следующее
От: "Anjan Dave"
Дата:
Сообщение: Moving postgres to FC disks