DELETE FROM A BLACK LIST - Mailing list pgsql-sql

From luca.scaramella@recom.it
Subject DELETE FROM A BLACK LIST
Date
Msg-id OFC425EC90.A6DA753C-ONC1256CE0.003861F2@recom.it
Whole thread Raw
Responses Re: DELETE FROM A BLACK LIST  (Steve Crawford <scrawford@pinpointresearch.com>)
Re: DELETE FROM A BLACK LIST  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-sql
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??

Thanks
Luca






pgsql-sql by date:

Previous
From: luca.scaramella@recom.it
Date:
Subject: DELETE FROM A BLACK LIST
Next
From: "Chad Thompson"
Date:
Subject: Re: filtering out doubles