These days many projects are using NoSQL and MongoDB is one of the NoSQL Databases. In this article, we will learn what is MongoDB and it’s purpose. The below is the ToC.
Introduction
In this simple article, let’s discuss what is Mongo DB. MongoDB is a document-oriented Database, which is also called No-Sequal (NoSQL) database. Initially released in August 2009. Mongo DB is Document Based, which does not have a relation with another table. In a single record, all the data are stored in Hierarchical order. It’s a Schema Free Database
In Mongo DB the data is stored as Documents with key-value pairs. All these documents are stored as Collections. A Collection is a group of Documents and it is stored in Mongo DB
Prerequisite
- It will be good if we have a good understanding of SQL queries and OOPs concepts
Why need for MongoDB
We already have a good set of relational databases, then why do we need NoSQL. Here are a few reasons to have Mongo DB
- Flexibility – Data are stored in the format of the document and it’s highly flexible
- Flexible Query Model – We can also select some part of the document or a query based on attributes, regular expressions
- Native Aggregation – Data can be extracted or imported into Datasources
- Schema-less Model
Architecture of MongoDB

Feature of Mongo DB
- General Purpose Database
- Flexible Schema Design
- Scalability and Load Balancing
- Aggregation Framework
- Native Replication
- Security features
- JSON
- MapReduce
Conclusion
In this simple article, we discussed, what is MongoDB and its purpose. We will learn MongoDB deeper in our upcoming article series. Please share your feedback in the comment section.
Leave a Reply