This weekend I rolled back my database from 5.7.10 to 5.6.28. In a test load of 27 million records with multi-record inserts, it took 120 minutes to load this MySQL 5.7.10 database. On the same machine, 5.6.28 took 40 minutes. This is a repeatable event. The test was conducted on a computer with Windows 7 Professional with 64 GB of memory. And this was done on a server with Windows Serve 2012 R2 with 256 GB of memory.
This was not the only problem. The group by statement statement does not work on the second query and always works on the table inside the query. Example:
select * from (select * from tablename order by datex desc, timex desc ) as A group by recordx;
This query should pull out the first record of table A, as in 5.6.28. At 5.70.10, the query pulled out the earliest record entered from tablename and NOT A. Even when desc is replaced by asc, the result will be the same.
5.6.28 always raises the top element in table โAโ of the subquery.
MySQL needs some explanation regarding its requirements regarding 5.7.10, which are 3 times faster. This is definitely not consistent with backward compatibility, as shown in group-by-group behavior.
source share