MySQL Forums
Forum List  »  Performance

Re: Simple JOIN is extremely slow.
Posted by: Jørgen Løland
Date: June 12, 2011 11:50AM

Hi Patrick,

There can be many causes for your problem and it's impossible to tell what it is without more information. Can you please provide the following information:

* EXPLAIN SELECT * FROM reservations r JOIN contacts c ON r.client=c.breeze_id WHERE r.contact_id IS NULL
* SELECT count(*) FROM reservations r JOIN...
* SHOW CREATE TABLE for both tables.

Hope this helps,
Jørgen Løland
Software Engineer, MySQL, Oracle
jorgenloland.blogspot.com

Options: ReplyQuote


Subject
Views
Written By
Posted
3061
June 10, 2011 10:34AM
Re: Simple JOIN is extremely slow.
1010
June 12, 2011 11:50AM
1100
June 13, 2011 11:01AM
1003
June 14, 2011 08:04PM
1004
June 15, 2011 07:38PM


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.