mysql 5.6 的一些限制,mysql5.6限制

來源:互聯網
上載者:User

mysql 5.6 的一些限制,mysql5.6限制
Limits in MySQL 5.6Sql 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

 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.