Re: DELETE FROM A BLACK LIST

Поиск
Список
Период
Сортировка
От Achilleus Mantzios
Тема Re: DELETE FROM A BLACK LIST
Дата
Msg-id Pine.LNX.4.44.0303051321150.4354-100000@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на DELETE FROM A BLACK LIST  (luca.scaramella@recom.it)
Список pgsql-sql
On Wed, 5 Mar 2003 luca.scaramella@recom.it wrote:

> 
> Hi all,
> I have a Blacklist table containing about 1000 ID to delete from another
> table (T1 about 1440294 records)
> If i use the SQL
> 
> DELETE FROM T1 WHERE T1.ID IN (SELECT BLACKLIST.ID FROM BLACKLIST)
> 
> the operation is very slow .
> 
> There is a faster way to do the same operation??
use EXISTS
> 
> Thanks
> Luca
> 
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

-- 
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel:    +30-210-8981112
fax:    +30-210-8981877
email:  achill@matrix.gatewaynet.com       mantzios@softlab.ece.ntua.gr



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

Предыдущее
От: luca.scaramella@recom.it
Дата:
Сообщение: DELETE FROM A BLACK LIST
Следующее
От: Christoph Haller
Дата:
Сообщение: Re: SETOF