MySQL Forums
Forum List  »  MyISAM

Re: MySQL 5.6 Upgrade - Hung On Creating sort index
Posted by: Rick James
Date: October 16, 2016 04:56PM

Pre-5.6 did a nasty job of


because neither 'derived' table had an index, so that required lots of table scans.

5.6 improved that for _most_ cases by creating the 'best' index for a derived table. Sometimes it was less than optimal.

Please provide SHOW CREATE TABLE for the tables, plus EXPLAIN SELECT (from both machines, if possible).

We can probably advise on how to speed up your query, in spite of the slowdown.

Options: ReplyQuote

Written By
Re: MySQL 5.6 Upgrade - Hung On Creating sort index
October 16, 2016 04:56PM

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.