出現(xiàn)625錯(cuò)誤說(shuō)明index memory不夠,需要增加index內(nèi)存即可。
但,這次問(wèn)題有點(diǎn)特殊,這次是在做數(shù)據(jù)恢復(fù)的時(shí)候出現(xiàn)的問(wèn)題。具體表述如下:
Processing data in table: efdb/def/EF_GB_CITYLINK(99) fragment 1
Permanent: 625: Out of memory in Ndb Kernel, hash index part (increase IndexMemory)-
Restore: Failed to restore data due to a unrecoverable error. Exiting...
NDBT_ProgramExit: 1 - Failed
解決辦法除了增加index內(nèi)存外,還可以這么做(如果您沒(méi)有多余的內(nèi)存可以增加的話):
1、恢復(fù)時(shí)只恢復(fù)數(shù)據(jù),先不考慮索引
ndb_restore -n主節(jié)點(diǎn)編號(hào) -b備份號(hào) -r -m --disable-indexes --backup_path=主備份文件存放目錄
ndb_restore -n輔節(jié)點(diǎn)編號(hào) -b備份號(hào) -r --disable-indexes --backup_path=輔備份文件存放目錄
2、重建索引
ndb_restore -b備份號(hào) -n主節(jié)點(diǎn)編號(hào) --rebuild-indexes --backup_path=主備份文件存放目錄
ndb_restore -b備份號(hào) -n輔節(jié)點(diǎn)編號(hào) --rebuild-indexes --backup_path=輔備份文件存放目錄
注釋:
cluster模擬環(huán)境是兩個(gè)數(shù)據(jù)節(jié)點(diǎn),2個(gè)api節(jié)點(diǎn),1個(gè)管理節(jié)點(diǎn)
本文出自:億恩科技【www.allwellnessguide.com】
服務(wù)器租用/服務(wù)器托管中國(guó)五強(qiáng)!虛擬主機(jī)域名注冊(cè)頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]
|