Re: IN list processing performance (yet again)

From: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: IN list processing performance (yet again)
Date: 2003-05-28 13:16:38
Message-ID: 200305281846.38928.shridhar_daithankar@nospam.persistent.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andreas Pflug 2003-05-28 13:19:22 Re: IN list processing performance (yet again)
Previous Message Dave Tenny 2003-05-28 12:51:49 IN list processing performance (yet again)