Re: Performance of request of type WHERE ... IN ( ... ) - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: Performance of request of type WHERE ... IN ( ... )
Date
Msg-id Pine.LNX.4.44.0301151259100.1876-100000@matrix.gatewaynet.com
Whole thread Raw
In response to Performance of request of type WHERE ... IN ( ... )  ("Th Templ" <templ_th@hotmail.com>)
Responses Re: Performance of request of type WHERE ... IN ( ... )
List pgsql-sql
On Wed, 15 Jan 2003, Th Templ wrote:

> Hello,
>
> I have performance problem of an request of type ... WHERE ... IN ( ... ).
> How to improve performance of this type of request when a group of id in the
> 'in' is important.

Try WHERE ... EXISTS (...).


> Thanks for your answers.
> Templth
>
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>

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



pgsql-sql by date:

Previous
From: "Th Templ"
Date:
Subject: Performance of request of type WHERE ... IN ( ... )
Next
From: Andreas Joseph Krogh
Date:
Subject: index on to_char(created, 'YYYY') doesn't work