Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在一个表中添加一个字段,然后运行类似的命令ALTER Table some_table add some_field varchar(255),这需要1个多小时,还没有完成。
ALTER Table some_table add some_field varchar(255)
该表有大约 800k 行和 1.5GB 容量。但是反正我只是改变结构,表的容量应该没有影响吧?
环境:MYSQL 5 + Ubuntu 11