MongoDB Introduction

MongoDB Introduction

In this Blog I am going to cover MongoDB Introduction. So please read this blog till end.

What is MongoDb Database?

MongoDB is NO SQL cross Platform , document oriented database. It’s written in C++ Lanugage.

MongoDB was launched in 2007 by NewYork based organization named 10gen which is now known as MongoDB Inc.

It provides high availability and high performance and automatic scalability. MongoDB Works based on collection and document.

MongoDB is available under General Public license for free

MongoDB Advantages

  • Schema Less : MongoDB is document oriented database , Means In one collection hold different doucments , number of fields , content and size etc.
  • Structure of a single object is clear in MongoDB.
  • There are no complex joins in MongoDB.
  • Deep Query Facility : MongoDB Provides Deep Query Facility because it supports dynamic query in document.
  • Scalablity : MongoDB is very easy to scale
  • It uses internal memory for storing working sets and this is the reason of its fast access.

MongoDB Disadvantages

  • No Joins Supported : MongoDB doesn’t Support Joins like relational database
  • High Memory Usage : MongoDB stores key names for each value pairs. Also, due to no functionality of joins, there is data redundancy. This results in increasing unnecessary usage of memory.
  • Limited Data Size : You can have a document size, not more than 16MB.
  • Limited Nesting : You cannot perform nesting of documents for more than 100 level

Why Use MongoDB?

  • Document Oriented Storage − Data is stored in the form of JSON style documents.
  • Index on any attribute
  • Replication and high availability
  • Auto-Sharding
  • Rich queries
  • Fast in-place updates
  • Professional support by MongoDB

Where to Use MongoDB?

  • Building mobile and social infrastructure
  • Managing and Delivering Content
  • Big Data
  • Data Hub
  • Managing User Data

Example Document

   _id: ObjectId(7sjksw221f78a)
   title: 'CreatesWowtech MongoDB Tutorial', 
   description: 'MongoDB is NO SQL  cross Platform , document oriented database. It's written in C++ Lanugage.',
   url: '',  
   comments: [	
         message: 'First Comment'        
         message: 'Seond Comment'         

Hope you like this Topic MongoDB Introduction and useful for you , so please stay connected with us to learn more. Have a wonderful day.

Leave a Reply
Your email address will not be published. *