I’ve got a table (InnoDB) with a fair number of indices. It would be great to know if one (or more) of these was never actually used. I don’t care as much about the disk space, but insertion speed is sometimes an issue.
Does MySQL record any statistics on how often it has used each index when running queries?
There is a way to find unused indexes with a small patch to MySQL.