MySQL Forums
Forum List  »  Performance

Re: Trivial query takes over 10 seconds
Posted by: Nathan Cheng
Date: July 20, 2005 10:57AM

From that other reply, looks like the related mysql bug isn't getting fixed any time soon. So how about a workaround?

How fast is the query if you don't use a sub-query? e.g.

SELECT device.* FROM device INNER JOIN device_ip USING( device_id ) GROUP BY device.device_id HAVING COUNT(device.device_id) > 1);

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Trivial query takes over 10 seconds
1508
July 20, 2005 10:57AM


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.