一、循環(huán)插入數(shù)據(jù)時(shí)出現(xiàn)
table is full二、在mgm>all report memoryusage 查看
Node 2: Data usage is 22%(2305 32K pages of total 10240)
使用率到最后98%以上這時(shí)出現(xiàn)啦table is full
基于以上兩種情況,其實(shí)是一種情況的我的解決方法是:
根據(jù)硬件配置必須根據(jù)硬件配置修改my.cnf文件和config.ini文件
1.config.ini
[ndbd default]
NoOfReplicas=2
MaxNoOfConcurrentOperations=10000
DataMemory=320M
IndexMemory=96M
TimeBetweenWatchDogCheck=30000
MaxNoOfOrderedIndexes=5122.my.cnf
[mysqld]
ndbcluster
ndb-connectstring=124.95.137.12
optimizer_switch=engine_condition_pushdown=off問(wèn)題得以解決
來(lái)源:http://www.greensoftcode.net/