pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Th Templ <templ_th@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Performance of request of type WHERE ... IN ( ... )
Date: Wed, 15 Jan 2003 13:00:20 -0200 (GMT+2)
Message-ID: <Pine.LNX.4.44.0301151259100.1876-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <F79usluCBcKfExvWvqz0000a1be@hotmail.com>

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




view thread (3+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0301151259100.1876-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0301151259100.1876-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0301151259100.1876-100000@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com, templ_th@hotmail.com
  Subject: Re: Performance of request of type WHERE ... IN ( ... )
  In-Reply-To: <Pine.LNX.4.44.0301151259100.1876-100000@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox