From: Rod Taylor <rbt@rbt.ca>
To: Mike Winter <mike.winter@frontlogic.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: "SELECT IN" Still Broken in 7.4b
Date: Wed, 20 Aug 2003 17:10:35 +0000
Message-ID: <1061399435.40948.15.camel@jester> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0308201002210.6023-100000@frontlogic.com>
References: <Pine.LNX.4.33L2.0308201002210.6023-100000@frontlogic.com>
Ensure your IN list is unique. You might find better times by through
an indexed temp table.
On Wed, 2003-08-20 at 16:32, Mike Winter wrote:
> I'm sure many on this list are sick of hearing about this problem, but it
> was on the fix list for 7.4, but doesn't appear to have been changed.
>
> You can see one of the many threads on the problem at:
> http://archives.postgresql.org/pgsql-sql/2003-05/msg00352.php
>
> Basically, queries of the form SELECT <rows> FROM <table> WHERE <row> IN
> (<list of values>) take forever for high numbers of rows in the IN clause.
> We've done timing on 7.3 and 7.4b and there is no speed improvement on
> these queries.
>
> Does anyone know what the status of this bug is?
Attachments:
signature.asc (application/pgp-signature, 186B) download
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: rbt@rbt.ca, mike.winter@frontlogic.com
Subject: Re: "SELECT IN" Still Broken in 7.4b
In-Reply-To: <1061399435.40948.15.camel@jester>
* 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