I know there isn’t any limit for a VARCHAR column, and it can be up to ROW limit size in mysql (65,535 bytes).
now is there any limit for VARCHAR column to be index-able? or dose it depend on Storage Engines?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, there is a limitation:
From the documentation – All storage engines support at least 16 indexes per table and a total index length of at least 256 bytes. Most storage engines have higher limits.
More information – Column Indexes.
In this case you can specify a prefix length for the index, e.g. –