Changing MongoDB storage engine from Mmapv1 to WiredTiger

Changing the storage engine for a standalone MongoDB server from Mmapv1 to WiredTiger is relatively painless. Here’s how I did it. Backup the database Stop monbodb service Update mongodb.conf Here’s my /etc/mongodb.conf file: Start monbodb service Restore the database from backup That’s it. To check what storage engine you’re using with your MongoDB, connect to the mongodb with mongo shell and run:

November 3, 2015 · 1 min · 62 words · kenno