pt-duplicate-key-checker is the go-to tool for identifying redundant or duplicate indexes in MySQL, but it may not catch all duplicates.
name; if (key) { if (Object.prototype.hasOwnProperty.call(mapper, key)) { // This meta is already in the result, // Replace the one in result with this const dupeMetaIdx = mapper[key]; result[dupeMetaIdx] = elem; } else { // Save the elem's index in result. mapper[key] =...