From: | Andrew Sullivan <andrew(at)libertyrms(dot)info> |
---|---|
To: | PostgreSQL general list <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: "NOT IN" predicate hangs result |
Date: | 2002-04-11 18:19:38 |
Message-ID: | 20020411141938.K19037@mail.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Apr 11, 2002 at 09:42:59AM -0700, Stephan Szabo wrote:
> It probably would have finished eventually, but right now NOT IN has
> serious performance problems. I believe that it's running the inner
> select once for every row in user_profile or something to that effect.
> And it's a known deficiency, it's even got its own FAQ question.
Just out of curiosity, is there a fundamental reason the optimiser
doesn't just rewrite NOT IN queries to use the NOT EXISTS form, or is
it simply that, since there's a well-known workaround, nobody's
bothered to improve this area?
A
--
----
Andrew Sullivan 87 Mowat Avenue
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M6K 3E3
+1 416 646 3304 x110
From | Date | Subject | |
---|---|---|---|
Next Message | David Siebert | 2002-04-11 18:19:46 | Re: Critical performance problems on large databases |
Previous Message | craig isdahl | 2002-04-11 18:15:31 | where to find info about data types? |