mysql5.6的一些限制

2015-11-21 01:54:59 · 作者: · 浏览: 4

Limits in MySQL 5.6

Sql Join 限制:

<=61(适用于视图所能引用的表)

?

数据库及表数量限制:

Mysql 数据库的表(table)大小一般由操作系统单个文件大小限制决定,并不是由mysql 内核决定;

常见os机器文件大小限制:

Operating System

File-size Limit

Win32 w/ FAT/FAT32

2GB/4GB

Win32 w/ NTFS

2TB (possibly larger)

Linux 2.2-Intel 32-bit

2GB (LFS: 4GB)

Linux 2.4+

(using ext3 file system) 4TB

Solaris 9/10

16TB

OS X w/ HFS+

2TB

?

Innodb 存储引擎通过tablespace 来维护innodbtables;而表空间可以有多个数据文件,这些表空间可以使用raw disk partitions。而表空间最大可以达到64TB;那么换句话说在使用innodb引擎时,他的数据库表可以达到64T;

?

如何扩张innodbtablespace 空间:

Mysql manual reference:Section14.4.2, “Changing the Number or Size of InnoDB Log Files”

?

Limits on Table Column Count and Row Size

4096 columns per table

a maximum row size of 65,535 bytes

InnoDB permits up to 1000 columns.

?InnoDB restricts row size to something less than half a databasepage (approximately 8000

bytes), not including VARBINARY, VARCHAR,BLOB, or TEXT columns

InnoDB permits up to 4 billion tables. From mysql 5,.5

?