Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (50.2k points)

Can someone summarize the pros and cons of MongoDB?

1 Answer

0 votes
by (108k points)
edited by

The relational database management system basically stores data in a table format and essentially works with structured query language so that it can query the structured database. Whereas MongoDB which is considered to be a type of NoSQL database stores the unstructured or semi-structured data in the document-based data structure instead of tables. In MongoDB, you can change the schema or structure of the records or fields by just adding new fields or removing the existing fields. This technique of MongoDB helps us to express a hierarchical relationship, to save array data type, and other complicated data structures. MongoDB gives high performance, high availability, auto-sharding, and replication.

The main disadvantage of using MongoDB is that there is no join which means that we cannot relate two or more tables with a common column. We cannot perform transactions in MongoDB and MongoDB is a fast-evolving product so it is very difficult to keep updated. 

Browse Categories

...