This topic created in 4555 days ago, the information mentioned may be changed or developed.
我最近在阿里云的一台机器上,使用了 alter table add COLUMN 去添加一个新的列,这个表只有1k+行,但是这个操作需要非常久的时间,大概一两分钟都没有响应,导致前台也受到影响。
我知道这样的操作会导致锁表,但是为什么需要这么久的时间,是不是相关的配置不对呢?
2 replies 1970-01-01 08:00:00 +08:00  | | 1 pythonee Nov 6, 2013 文档不是说 online ddl 不会锁表的吗 |