MaxNoOfConcurrentOperations=150000
MaxNoOfConcurrentTransactions=150000
MaxNoOfLocalOperations=150000
Config.iniに上記のパラメータがありますが、テーブルの行を削除しようとすると、以下のエラーが発生します
mysql> delete from radacct where acctinputoctets=0 and acctoutputoctets=0;
ERROR 1297 (HY000): Got temporary error 1217 'Out of operation records in local data manager (increase MaxNoOfLocalOperations)' from NDBCLUSTER.
mysql> explain delete from radacct where acctinputoctets=0 and acctoutputoctets=0;
+----+-------------+---------+------+---------------+------+---------+------+---------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+---------+------+---------------+------+---------+------+---------+-------------+
| 1 | SIMPLE | radacct | ALL | NULL | NULL | NULL | NULL | 1209607 | Using where |
+----+-------------+---------+------+---------------+------+---------+------+---------+-------------+
Maxnooflocaloperationsの最適値を決定する方法は?
vi config.ini
、/var/lib/mysql-cluster/XX/config.ini
または/var/lib/mysql-cluster/config.ini
※XX:ndb_mgmd(MGM)ノードのIDMaxNoOfConcurrentOperations=2000000
これらのパラメータ値は次のようになります。MaxNoOfLocalOperations>MaxNoOfConcurrentOperations>MaxNoOfConcurrentTransactions