Add MySQL SQL script check-idx-btree-not-unique-redundancy.sql
Find single column B-Tree NOT UNIQUE indexes that are defined as prefix of another composed index too.
Note.
Sigle B-Tree and NOT UNIQUE indexes are compared wich each
composed index per table.
Cases where the prefix index is unique are not considered as the uniqueness of the prefix index in this case enforce a constraint not enforced by the composed index.
Add MySQL SQL script check-idx-btree-not-unique-redundancy.sql
Find single column B-Tree NOT UNIQUE indexes that are defined as prefix of another composed index too.
Note.
Sigle B-Tree and NOT UNIQUE indexes are compared wich each composed index per table.
Cases where the prefix index is unique are not considered as the uniqueness of the prefix index in this case enforce a constraint not enforced by the composed index.