Re: IN list processing performance (yet again) - Mailing list pgsql-performance

From Shridhar Daithankar
Subject Re: IN list processing performance (yet again)
Date
Msg-id 200305281846.38928.shridhar_daithankar@nospam.persistent.co.in
Whole thread Raw
In response to IN list processing performance (yet again)  (Dave Tenny <tenny@attbi.com>)
Responses Re: IN list processing performance (yet again)
List pgsql-performance
On Wednesday 28 May 2003 18:21, Dave Tenny wrote:
> Having grepped the web, it's clear that this isn't the first or last
> time this issue will be raised.
>
> My application relies heavily on IN lists.  The lists are primarily
> constant integers, so queries look like:
>
> SELECT val FROM table WHERE id IN (43, 49, 1001, 100002, ...)

How do you derive this list of number? If it is from same database, can you
rewrite the query using a join statement?

HTH

 Shridhar


pgsql-performance by date:

Previous
From: Dave Tenny
Date:
Subject: IN list processing performance (yet again)
Next
From: Andreas Pflug
Date:
Subject: Re: IN list processing performance (yet again)