The default storage engine’wiredTiger’

Time:2019-10-2

Win7 32 bit system encountered problems when installing mongodb database.

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

According to the error prompt, the reason is that the current database engine does not support 32 system.

The solution to this problem is simple, as long as you switch off the default database engine of MongoDB, of course, it is better to upgrade to 64-bit system, after all, there is no 2GB limit and the performance of the new engine has greatly improved.

$ mongod -dbpath "d:\mongodb\data" -storageEngine=mmapv1