is there a tool that spots redundant indexes in MySql?
e.g. if I have the following indexes:
index1(col1)
index2(col1,col2)
then index1
should be flagged as redundant.
any ideas?
indexMySQL
is there a tool that spots redundant indexes in MySql?
e.g. if I have the following indexes:
index1(col1)
index2(col1,col2)
then index1
should be flagged as redundant.
any ideas?
Best Answer
You can use pt-duplicate-key-checker from Percona Toolkit. You can also use the common_schema by Shlomi Noach.