Hi,
I've noticed that when I create a Unique Constraint, MySQL will automatically create an Index with the same name.
When I query for a list of Indexes, what I need to do is find out which ones were system-generated and which were actually defined by me.
I took a look at INFORMATION_SCHEMA.STATISTICS, but I don't see anything in there that could distinguish who created the Indexes.
I've noticed that when I create a Unique Constraint, MySQL will automatically create an Index with the same name.
When I query for a list of Indexes, what I need to do is find out which ones were system-generated and which were actually defined by me.
I took a look at INFORMATION_SCHEMA.STATISTICS, but I don't see anything in there that could distinguish who created the Indexes.