MongoDB – Advantages

MongoDB – Advantages

Any relational database has a typical schema design that shows number of tables and the relationship between these tables. While in MongoDB, there is no concept of relationship.

Advantages of MongoDB over RDBMS

  • Schema less − MongoDB is a document database in which one collection holds different documents. Number of fields, content and size of the document can differ from one document to another.
  • Indexing- You can index any field in a document.
  • MongoDB uses internal memory for storage which enables faster access to the data.
  • Structure of a single object is clear.
  • MongoDB is easy to scale.
  • No complex joins are needed in MongoDB. There is no relationship among data in MongoDB.
  • Deep query-ability. MongoDB supports dynamic queries on documents using a document-based query language that's nearly as powerful as SQL.
  • Tuning.
  • MongoDB is free to use. There is no cost for it.
  • Conversion/mapping of application objects to database objects not needed.
  • It also supports:
    -JSON data model with dynamic schemas
    -Auto-sharding for horizontal scalability
    -Built in replication for high availability
    -Now a day many companies using MongoDB to create new types of applications, improve performance and availability.

    Why Use MongoDB?

  • Document Oriented Storage − Data is stored in the form of JSON style documents.
  • Index on any attribute
  • Blog and Content Management systems
  • Replication and high availability
  • Auto-Sharding
  • Rich queries
  • Fast in-place updates
  • Professional support by MongoDB
  • If application is a loosely coupled mechanism – means design may change at any point of time.

    Where to Use MongoDB?

  • Big Data
  • Content Management and Delivery
  • E-Commerce type of product-based applications
  • Mobile and Social Infrastructure
  • User Data Management
  • Data Hub
MongoDB – Overview (Prev Lesson)
(Next Lesson) MongoDB – Environment
Open chat
', { 'anonymize_ip': true });