作者DarkKiller (System hacked)
看板Database
标题Re: [SQL ] 请问Mysql单一资料表最大储存空间为多少?
时间Sun Sep 1 20:07:49 2013
※ 引述《jami520 (我的生命因你而发光)》之铭言:
: 目前我有些资料每天都要储存,需要很大的容量
: 存了一个月就已经到达了2GB,不晓得mysql 5 单一资料表最多可储存多少空间呢?
: 如果要变成无限制储存有方法吗?
http://dev.mysql.com/doc/refman/5.5/en/table-size-limit.html
MyISAM 宣称单一表格最大大小通常是在底层限制。
The effective maximum table size for MySQL databases is usually
determined by operating system constraints on file sizes, not by
MySQL internal limits.
http://dev.mysql.com/doc/refman/5.5/en/create-table.html
When you create a MyISAM table, MySQL uses the product of the
MAX_ROWS and AVG_ROW_LENGTH options to decide how big the resulting
table is. If you don't specify either option, the maximum size for
MyISAM data and index files is 256TB by default.
预设的 MyISAM 可以长到 256TB。
http://dev.mysql.com/doc/refman/5.5/en/innodb-restrictions.html
InnoDB 没有明讲,不过在开启 innodb_per_file 後,我这边有 252GB 的
.ibd 档。
http://www.percona.com/forums/questions-discussions/mysql-and-percona-server/6125-[solved]-maximum-innodb-table-size
Percona 论坛这边说 64TB...
: 不然大家遇到这样的大储存资料是如何处理呢? 感谢
不处理...
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 112.121.80.241