From: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
---|---|
To: | Timo Nentwig <timo(at)nitwit(dot)de> |
Subject: | Re: Bug in optimizer |
Date: | 2004-05-05 17:31:01 |
Message-ID: | 409924D5.1090001@bigfoot.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-performance |
Timo Nentwig wrote:
> This is very slow:
>
> SELECT urls.id FROM urls WHERE
> (
> urls.id <> ALL (SELECT html.urlid FROM html)
> );
>
> ...while this is quite fast:
>
> SELECT urls.id FROM urls WHERE
> (
> NOT (EXISTS (SELECT html.urlid FROM tml WHERE
> (
> html.urlid = urls.id
> )))
> );
Are you using the version 7.4.x ?
Regards
Gaetano Mendola
From | Date | Subject | |
---|---|---|---|
Next Message | Ismail Kizir | 2004-05-05 17:38:22 | Turkish locale bug |
Previous Message | Jan Wieck | 2004-05-05 16:32:39 | Re: [GENERAL] cache lookup of relation 165058647 failed |
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2004-05-05 17:31:45 | Re: LIKE and INDEX |
Previous Message | Bruce Momjian | 2004-05-05 17:03:30 | Re: History of oids in postgres? |