MySQL Forums
Forum List  »  Performance

Re: MySql 5.7.3 m13 deadly slow - config issue?
Posted by: Øystein Grøvlen
Date: January 14, 2014 03:40AM

Hi Adam,

I would have expected that your query would use subquery materialization (described in this blog: http://guilhembichot.blogspot.co.uk/2012/04/faster-subqueries-with-materialization.html)

From the query plan it seems that you are not doing index look-ups into the inner table. Are you sure the number columns have the same type/character set/collation?
Could you show the output of "SHOW CREATE TABLE" for the two tables?

In order to fully understand what happens here, it would be great to see the optimizer trace for your query. (See http://dev.mysql.com/doc/internals/en/optimizer-tracing.html for how to get this).

Thanks,

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySql 5.7.3 m13 deadly slow - config issue?
1770
January 14, 2014 03:40AM


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.