MySQL Forums
Forum List  »  Performance

Re: which is best for JOIN approach
Posted by: Ra Nala
Date: February 25, 2016 05:50AM

Rick James Wrote:
-------------------------------------------------------
> How many rows in each table? How many rows do you
in first table we have 589000 rows and in right side table we have nearly 300000 rows. totally we i need to retrieve 589000 rows data if the data not matches from right table just i need to nulls.

> expect in the result? Is the query timing out?
yes, it is taking long time to pick you records when i apply your joining approach but when apply left joins to all my right side tables then it is extracting very fast.

> Which Engine are you using? Are there any WHERE clauses (other than ON)?
I am using InnoDB and mysql version is 5.6. yes there is WHERE clause at the end of my query.

Options: ReplyQuote


Subject
Views
Written By
Posted
1728
November 24, 2015 09:39AM
1097
November 25, 2015 02:42AM
1117
November 29, 2015 11:53AM
976
February 19, 2016 05:28AM
933
February 21, 2016 04:56PM
1017
February 19, 2016 05:31AM
903
February 21, 2016 01:40PM
951
February 21, 2016 01:43PM
Re: which is best for JOIN approach
948
February 25, 2016 05:50AM


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.