MySQL Forums
Forum List  »  Optimizer & Parser

Re: JOIN query too slow
Posted by: Rick James
Date: October 16, 2012 07:48PM

There is virtually no reason for the JOINs. All the info is fetched from the first table. The other tables seem to verify that each of the 4980 rows has a friend 4 levels removed.

The estimated number of rows to fetch is
4980 * 1 * 5 * 5 * 5 = 600K
So, it takes a lot of work.

Check to see if key_buffer_size is set properly:

Options: ReplyQuote

Written By
October 13, 2012 11:52AM
October 14, 2012 10:26AM
Re: JOIN query too slow
October 16, 2012 07:48PM

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.