Re: slow subquery (query is fast)
Hello,
surprisingly, a corresponding select
select idThumbUDF from "UserFields" where not exists (select "idThumb" from "Thumbnail" where "idThumb" = "idThumbUDF")
takes only a second to run.
The MySQL optimizer seems to do a good job on subqueries like this.
But why takes a delete which doesn't delete anything so much more time?
Regards,
Matthias
Subject
Views
Written By
Posted
6696
December 01, 2005 03:33AM
2932
December 07, 2005 08:18AM
2747
December 09, 2005 02:32PM
2689
December 19, 2005 11:58PM
3189
December 30, 2005 12:43PM
Re: slow subquery (query is fast)
3431
December 30, 2005 02:25PM
2652
February 22, 2006 01:06PM
5246
February 23, 2006 08:04AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.