In the past I have written about MySQL's limitations that prevent
you from creating an index over a certain length, or with more than a certain number of columns. I've offered some
solutions for those problems, but many of my solutions hit
another limit further down the line. For example innodb_large_prefix allows you to
create an index on larger columns, but only up to 3072 bytes, and
my workarounds for the 16 column limit per index will also hit
that 3072 byte limit once you add lots of columns or add some
very long columns.
Today I'm going to suggest a …
[Read more]