Pages - Menu

Thursday, August 13, 2015

What is MongoDB?

What is MongoDB?

MongoDB is an open source, document-oriented database designed with both scalability and developer agility in mind. In other words, MongoDB is an open source, non-relational database for JSON like  documents. Non-relational Database means, it does not store its data in tables like other other relational database does. It stores JSON documents.

MongoDB is one of several database types to arise in the mid-2000s under the NoSQL banner. It is built on architecture of collections and documents.Documents contain sets of key-value pairs, and are the basic unit of data in MongoDB.

Advantages of MongoDB:

  • Schema less: MongoDB is document database in which one collection stores multiple documents. where each document can have different no of keys(fields), content and size.
  • No complex Joins: It does not support join operations.
  • Structure of single object is clear.
  • Deep Query ability: It supports dynamic query on documents using a document based query language.
  • Ease of scale-out: MongoDB is easy to scale.
  • Conversion/mapping of application objects to database objects not needed.
  • It uses internal memory to store working set, which enables faster access of data.


When to use MongoDB?


Mobile and Social Infrastructure: With RDBMS it's iterate constantly and to support millions of users. Using MongoDB, you can build your apps that scale to millions of users faster.

Content Management and Delivery: To get users attention, you need a dizzying array of text, audio, video, images and social media. But you cannot add new content or attribute to your relational database easily. Using MongoDB, you can store and serve any type of content, build any feature, incorporate any kind of data in a single database faster.

User Data Management: It's easy to manage the user's data with MongoDB. Now, you need to store the likes and dislikes of the user to provide them better service. Based on the user's past information you can predict his needs and wants.

Real-Time Analytic: It's very hard to response to changes in your data shape minute by minute with RDBMS. You can manage the Real-Time analytic easily with MongoDB.

No comments:

Post a Comment