日期:2014-05-16  浏览次数:22288 次

Query execution was interrupted
如题:

我用的是mysql5.1
对一个数据量为3G,索引2G,执行一个alter table add 操作,mysql -hxx -uxx -Dxx -e“”
会出现  
ERROR 1317 (70100) at line 2: Query execution was interrupted




------解决方案--------------------
也可能是用-e这个参数导致系统out of memory 

那么就进入mysql执行你的alter table语句

另外执行你语句的时候监控下你的系统内存消耗情况