开发者

The table '#sql-5f8_9c' is full

im trying to delete a foreign key with the following syntax (5.0.45-community-nt):

alter table [table] drop foreign key [fk_name]

but I'm ge开发者_StackOverflow中文版tting the following error:

The table '#sql-5f8_9c' is full – 99543 ms

any ideas?

thanks!


ALTER TABLE often requires creating a copy of the entire table, so you need enough space on your filesystem to store two copies of the data concurrently as it does this table restructure.

It may seem odd that it needs to make a copy of the table since you're just dropping a constraint. In more recent versions of MySQL, some ALTER TABLE operations have been optimized so they don't require a table restructure. But you're using a version of MySQL from July 2007!

See also:

  • The table is full

  • InnoDB 'The Table is Full' error

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜