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设置范围之内。

相关文章:

  • 2021-06-01
  • 2021-09-26
  • 2022-12-23
  • 2021-06-03
  • 2021-04-22
  • 2021-09-04
  • 2021-03-31
猜你喜欢
  • 2021-08-24
  • 2022-03-02
  • 2021-06-11
  • 2021-08-11
  • 2021-10-28
  • 2021-07-17
  • 2022-12-23
相关资源
相似解决方案