Introduction to MongoDB — The Easiest Way to Deploy, Operate, and Scale
2 min readMay 10, 2021
Here is my experience of attending a workshop by Vimal Daga Sir on MongoDB.
What is MongoDB?
MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. It is a source-available cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc.
Key-Takeaways:
- File system is a method of storing data permanently. It controls how data is stored and retrieved.
- Data Model describes the format in which the data is stored inside a structure.
- SQL stands for Structured Query Language.
- JSON stands for JavaScript Object Notation.
- CRUD stands for Create Read Update and Delete.
- Indexing is a data structure to efficiently retrieve records from the database. Indexing provides a reference to an item, which helps to retrieve the item faster.
Creating an index of two or more items at once is known as compound indexing. - Sharding is a method for distributing data across multiple machines.
- MongoDB aggregation pipeline is a framework that transforms the documents into aggregated results.
- Mongo Router is present in the master node of the cluster. The metadata of the data in every slave node is stored inside this router.
- Referencing model is an architectural design for storing the data in the form of multiple documents.
- MongoDB Atlas is a fully managed cloud database. Atlas helps to perform deploying, managing and healing on the cloud service provider (AWS, Azure, and GCP).