简体   繁体   English

版本 5 及更高版本中 MySQL 数据库的最大大小是多少?

[英]What is the maximum size of a MySQL database in version 5 and up?

What is the maximum size of a MySQL database in version 5 and up?版本 5 及更高版本中 MySQL 数据库的最大大小是多少?

I do not mean the maximum size of row or table, but the maximum size of the whole database.我不是指行或表的最大大小,而是整个数据库的最大大小。

Two billion (2'000'000'000) tables and a max total of 64TB for InnoDB. 20 亿 (2'000'000'000) 个表和 InnoDB 的最大总量为 64TB。 MyISAM tables are files, so it's underlying OS file limit. MyISAM 表是文件,因此它是底层操作系统文件限制。

Check this answer: https://forums.mysql.com/read.php?79,158,165检查这个答案: https://forums.mysql.com/read.php?79,158,165

It's dependent of your operating system.这取决于您的操作系统。 Ie on Windows its dependent on maximum folder size.即在 Windows 上,它取决于最大文件夹大小。

This documentation entry is very helpful in regards to this此文档条目对此非常有帮助

its all depend on the 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
MacOS X w/ HFS+                      2TB

The maximum size for MySQL databases is determined by operating system constraints on file sizes for tables, not by MySQL internal limits. MySQL 数据库的最大大小取决于操作系统对表文件大小的限制,而不是 MySQL 内部限制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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