[MongoDB] How to Check the Storage Engine

Tadashi Shigeoka ·  Fri, January 6, 2017

I’ll introduce how to check the Storage Engine in MongoDB.

MongoDB | モンゴディービー

MongoDB version 3.x

You can check whether the Storage Engine is MMAPv1 or WiredTiger using the db.serverStatus() command.

db.serverStatus().storageEngine
{ "name" : "wiredTiger" }

MongoDB version 2.x and below

Don’t worry.

The Storage Engine is only MMAP and cannot be selected, so there’s no way to check it.

Reference Information

That’s all from the Gemba.