The default storage engine 'wiredTiger'

win7 32位系統在安裝mongodb數據庫時遇到問題。mongodb

2016-01-05T17:44:48.381+0800 I STORAGE  [initandlisten] exception in initAndListen: 28663 Cannot start server. The default storage engine 'wiredTiger' is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. --storageEngine=mmapv1., terminating

根據錯誤提示得知是因爲當前數據庫引擎不支持32系統所致使的。數據庫

解決這個問題很簡單,只要切換下MongoDB的默認數據庫引擎便可,固然最好是升級到64位系統,畢竟沒有2GB的限制並且新引擎的性能也有很大的提高。bash

$ mongod -dbpath "d:\mongodb\data" -storageEngine=mmapv1
相關文章
相關標籤/搜索