IN() alternatives

Поиск
Список
Период
Сортировка
От John Smith
Тема IN() alternatives
Дата
Msg-id 20030205210253.53954.qmail@web40712.mail.yahoo.com
обсуждение исходный текст
Ответы Re: IN() alternatives  (Andrew Sullivan <andrew@libertyrms.info>)
Список pgsql-general

I thought I saw a doc somewhere showing alternatives to using IN() for better performance, but can't find it :(. Are there better performing query alternatives to this?

delete from tab1 where id in (select id2 from tab2 where ...);

Where the subquery returns 1-10K's of records.

John



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

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

Предыдущее
От: John Smith
Дата:
Сообщение: Deleting orphan records
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: [HACKERS] [ANNOUNCE] PostgreSQL v7.3.2 Released