Re: correlated delete with "in" and "left outer join"

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: correlated delete with "in" and "left outer join"
Дата
Msg-id 76489D66-68CE-11D8-ACF5-000A95C88220@myrealbox.com
обсуждение исходный текст
Ответ на correlated delete with "in" and "left outer join"  (<mike@linkify.com>)
Список pgsql-general
On Feb 27, 2004, at 11:26 AM, <mike@linkify.com> wrote:

> I'm using postgresl 7.3.2 and have a query that executes very slowly.

<snip />

> I understand that using "in" is not very efficient.
>
> Is there some other way to write this query without the "in"?

NOT EXISTS ( ) is sometimes more efficient. If at all possible, upgrade
to 7.4.1. One of the many things that have improved since 7.3.2 is the
efficiency of queries using IN.

Michael Glaesemann
grzm myrealbox com


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

Предыдущее
От:
Дата:
Сообщение: correlated delete with "in" and "left outer join"
Следующее
От: Alexander Cohen
Дата:
Сообщение: change db encoding