Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Reading the documentation - dev.mysql.com/doc/refman/5.7/en/storage-requiremen...
VARCHAR(M), VARBINARY(M) - L + 1 bytes if column values require 0 − 255 bytes, L + 2 bytes if values may require more than 255 bytes
But imho it will still be slow with such a large varchar and even a key..
Ask as much as you really need, no need to overcap. Will work quickly if to hang up an index (it is checked up).
What are you going to store there? In principle, a simple char, if the length of the field is known in advance, will be better.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question