Thursday, June 8, 2017

Advantages of MongoDB over RDBMS

The Advantages of MongoDB over RDBMS are


1. No schema migrations. Since MongoDB is schema-free, your code defines your schema.

2. Number of fields, content and size of the document can be different from one document to another.

3. Tuning using indexes

4. Ease of scale-out: MongoDB is easy to scale by adding commodity hardware

5. Conversion / mapping of application objects to database objects not needed since MongoDB uses object notation to represent data structures

6. Schemaless: MongoDB is document database in which one collection holds different documents.

7. Uses internal memory for storing the working set, enabling faster access of data

8. A document-based data model. The basic unit of storage is analogous to JSON, Python dictionaries, Ruby hashes, etc. This is a rich data structure capable of holding arrays and other documents.

9. A clear path to horizontal scalability.

10. Structure of a single object is clear and well defined

11. No complex joins required to bring together related data

12. Deep query-ability. MongoDB supports dynamic queries on documents using a document-based query language that's nearly as powerful as SQL




No comments:

Post a Comment