我收到以下错误:
Got temporary error 233 'Out of operation records in transaction coordinator (increase MaxNoOfConcurrentOperations)' from NDBCLUSTER
向ndb表中插入数据时。
谁能解释一下这个错误。同样在我的 config.ini 中,我没有设置此参数。有什么办法可以看到这个变量的默认值。因为当我使用命令 SHOW VARIABLES 时看不到这个变量。
要设置此变量,我还需要更改 MaxMaxNoOfConcurrentTransactions
和 MaxNoOfLocalOperations
。
最佳答案
MaxNoOfConcurrentOperations 的默认值为 32768,但您可以通过编辑 ndb_mgm 配置来增加此值,即/etc/mysql/ndb_mgmd.cnf
并添加类似的东西
MaxNoOfConcurrentOperations=100000
更新 MaxNoOfConcurrentOperations 值时,您还应该更新 MaxNoOfLocalOperations。经验法则是使 MaxNoOfLocalOperations 比 MaxNoOfConcurrentOperations 大 10%,这样您就可以拥有。
MaxNoOfConcurrentOperations=100000
MaxNoOfLocalOperations=110000
关于mysql - 如何设置mysql MaxNoOfConcurrentOperations的值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1310290/