Mysql int和tinyint的比较
http://blog.sina.com.cn/s/blog_e4bd46a00102xqga.html
MySQL创建无符号整数(int)及取值范围
https://blog.youkuaiyun.com/COCO56/article/details/107153414/
int(4)代表显示4位
int每位占4个字节,而tinyint占1个字节
本文探讨了MySQL数据库中的int和tinyint数据类型的区别。int(4)表示显示宽度为4,并非占用存储空间的大小。实际上,int类型占用4个字节,而tinyint仅占用1个字节,适用于存储小整数。讨论了这两种类型在存储效率和适用场景上的差异。
http://blog.sina.com.cn/s/blog_e4bd46a00102xqga.html
https://blog.youkuaiyun.com/COCO56/article/details/107153414/
int(4)代表显示4位
int每位占4个字节,而tinyint占1个字节
742
1111
1953

被折叠的 条评论
为什么被折叠?