1

我在使用 Amazon RDS 时遇到问题。MySQL 数据库大小为 5Gb。我正在尝试将新行插入表中,但Table is full出现错误。这是SHOW TABLE STATUS给这张表的:

rows = 220801
avg_row_length = 1114
data_length = 246169600
index_length = 29048832
data_free = 3145728

这是怎么回事?data_free如果我的数据库大小是 5Gb ,为什么这么低?

附言。错误的全文听起来像The table 'foo' is full {prepstmnt 850033372 INSERT INTO foo (text) VALUES (?) [params=(String) some text]} [code=1114, state=HY000]

4

1 回答 1

0

Are you using MySQL 5.1? It can only handle 1024 open write transactions and reports full table when the limit is exceeded: Bug 26590. It's increased to 128K in 5.5.

于 2012-02-23T04:13:23.487 回答