mysql的限制

1.关联限制
The maximum number of tables that can be referenced in a single join is 61.
2.数据库和表的限制
MySQL has no limit on the number of databases.
MySQL has no limit on the number of tables.
3.表大小的限制
mysql对表没有限制,都是依赖操作系统的限制
以下情况可能会让你遇到full table error:
(1).磁盘满了
(2).innodb表用完了表空间
(3).分区表大于1TB的建议使用多个表空间
(4).遇到了操作系统的文件限制,myisam表的文件系统限制是2GB
4.表的列和行的限制
列限制:
MySQL has hard limit of 4096 columns per table
(1).行的大小会限制列的个数
(2).InnoDB has a limit of 1017 columns per table
(3).Each table has an .frm file that contains the table definition
行限制:
(1).最大的行限制是65,535 bytes

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值