IN() alternatives - Mailing list pgsql-general

From John Smith
Subject IN() alternatives
Date
Msg-id 20030205210253.53954.qmail@web40712.mail.yahoo.com
Whole thread Raw
Responses Re: IN() alternatives
List 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 by date:

Previous
From: John Smith
Date:
Subject: Deleting orphan records
Next
From: Oliver Elphick
Date:
Subject: Re: [HACKERS] [ANNOUNCE] PostgreSQL v7.3.2 Released