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
相关文章
相关标签/搜索