Re: Is there any Faster workaround ??

Поиск
Список
Период
Сортировка
От David Stanaway
Тема Re: Is there any Faster workaround ??
Дата
Msg-id 1018383583.5240.10.camel@debian
обсуждение исходный текст
Ответ на Is there any Faster workaround ??  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Список pgsql-sql
On Tue, 2002-04-09 at 14:54, Rajesh Kumar Mallah wrote:
> Hi folks,
>
> We require to do below or similar quite often
>
> DELETE  from t_a where email in (select email from t_b);
>
> everyone knows "IN" is pain fully slow currently in pgsql
> is the any fster alternative to above query
>

DELETE  from t_a where exists (select email from t_b where t_b.email =
t_a.email);


--
David Stanaway

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

Предыдущее
От: "Isaac Mesa Florez"
Дата:
Сообщение: Help To Out
Следующее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: Is there any Faster workaround ??