Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 mysql 来存储图形数据库的值并且最多大约 360 个字符,是否建议使用 varchar 而不是文本?因为我会经常查询,所以表格也会随着时间的推移不断增加。
对于这么少的字符,您应该使用varchar. Varchar最多可存储 65535 个字符。您无需使用text
varchar
Varchar
text