MongoDB introduced the concept of pluggable storage engines in version 3.0. After the acquisition of WiredTiger, it introduced its storage engine as optional at first, and then as the default storage engine for the current version of MongoDB. In this chapter, we will dive deeply into the concept of storage engines, why they matter, and how we can choose the best one according to our workload.
We will cover the following topics:
- Pluggable storage engines
- WiredTiger
- Encrypted
- In-memory
- MMAPv1
- Locking in MongoDB