看板 Database 關於我們 聯絡資訊
※ 引述《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