We've stuck with the following problem:
The query takes about 0.5 seconds to run on mysql 5.7.* and it takes about 3 minutes to the same query on mysql 5.6.*.
The database is exactly the same database, computers are with same RAM, disk, processors, etc.
Checked on 8 different computers with different mysql versions. What can be the problem?
The query is making join of two tables from two different databases and then updates one of them.
Checked the documentation, searched for some information in Google. Can't find anything that can help me. I think it is something in configuration that changed between these releases.
Thank you for your help friends :)