What column data type should I use for storing large amounts of text or html
问题 I have a column in a table which used to be varchar(255) in the beginning and due to some design changes now it is varchar(1536) = 1024 + 512. I will not be searching or indexing this field, does it make sense to store this value in a different data type other than a varchar if you would like to optimize this for performance? 回答1: Yes, it will be better if you can store the values in the " TEXT " data type. For more details, please read this article. Regarding knowledge of storage