Home > database > Help mysql index was invalid, please advice
Help mysql index was invalid, please advice
Time:09-26
RT, I use the same query, explain the results Mysql 5.5.8 5.6
But another server, 10.1.19 - MariaDB
Table structure is synchronous, mysql5.5.8 database to perform this operation only need to 2 seconds, 10.1.19-340 seconds of MariaDB also didn't come out, the results of a timeout, seek advice, 10.1.19 - MariaDB index ran to where go to? Don't how to explain? This is just a count (1) the query
CodePudding user response:
Don't need to think so much, who know the synchronization time what's the problem?
On the first reference to mysql, add the index to the MariaDB to say again,