- Issue created by @andypost
- Status changed to Needs review
5 months ago 12:10pm 19 August 2024 - 🇳🇱Netherlands bbrala Netherlands
How scary is this for possible indexes? Not sure what field types we use but the character limit will go down as the bytes per caharacter go up. Jas this been considered?
- 🇫🇷France andypost
I bet it will effect on tmpfs usage, moreover ATM mysql:8 image sometimes fail to start
- 🇳🇱Netherlands bbrala Netherlands
An index on a (var)char > 176 will fail since it will run out of the max 100 bytes. Mostly referring to that.
- 🇫🇷France andypost
Probably core needs own issue to discus default encoding additionally to ✨ Make ROW_FORMAT configurable Needs work
- InnoDB tables have a max index length of 767 bytes (in MySQL 5.6 and older) or 3072 bytes (MySQL 5.7+ with innodb_large_prefix enabled).
- UTF-8 MB4 encoding uses up to 4 bytes per character, meaning strings longer than 191 characters can exceed the max index size.