January 2019
Intermediate to advanced
286 pages
7h 41m
English
As already mentioned, MySQL now uses a new schema called SYS. To find duplicate indexes, you can use view the schema_redundant_indexes from the SYS schema.
view schema_redundant_indexes is easy to use once you have installed the SYS schema. The difference is that this view uses the table information_schema.statistics.
You can use the following statement to find duplicate indexes:

Again, if you're sure your indexes are duplicates, you can delete them.
Read now
Unlock full access