transaction coordinator (increase MaxNoOfConcurrentOperations)' from ndbcluster

mysql> TRUNCATE TABLE `user_ourproperty`;

ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction

And if I try to empty it with a DELETE command, I get a different error:

mysql> DELETE FROM user_ourproperty WHERE 1 LIMIT 1000000;

ERROR 1297 (HY000): Got temporary error 233 'Out of operation records in
transaction coordinator (increase MaxNoOfConcurrentOperations)' from ndbcluster

在mysql cluster 中进行了较长时间的操作时,就会报这样的提示。当这样时我就用少量数据的操作,减少事务的处理时间,使得事务处理时间在MaxNoOfConcurrentOperations设置范围之内。

你可能感兴趣的:(transaction)