How to know which storage engine is used in mongodb?

Easiest way to find the storage engine being used currently in from mongo console.

Inside mongo console, type (You might need admin access to run this command)

db.serverStatus().storageEngine

If It returns,

{ "name" : "wiredTiger" }

WireTiger Storage engine is being used.

Once it is confirmed that wiredTiger is being used then type

db.serverStatus().wiredTiger

to get all the configuration details of wiredTiger.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)