简体   繁体   中英

Does datatype length affect the performance?

I have a very general question regarding length of the data type. suppose i have assigned a varchar(2500) and i am using only up-to 100 bytes. will the rest of the unused length specified by me affect any thing?

VARCHAR仅占用100。剩余的内存将由其他字段使用。

查看此参考(mysql): http : //dev.mysql.com/doc/refman/5.0/en/char.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM