Introduction To MongoDB: A Jumpstart

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.

  1. Introduction
  2. Prerequisite
  3. Why need for MongoDB
  4. Architecture of MongoDB
  5. Feature of Mongo DB
  6. Conclusion

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Website Built with WordPress.com.

Up ↑

%d bloggers like this: