MongoDB

 

What is MongoDB?

MongoDB is a document database. It is a nonrelational, scalable and flexible NoSQL database.

MongoDB stores data in JSON-like documents. MongoDB is available in both cloud and the server.

MongoDB Atlas provides an opportunity to create clusters for free and then we can create databases to store data. Sandboxes are provided which are free forever. Capacity of storing data would be up to 5GB.

 

MongoDB offers both an Enterprise and Community version.

MongoDB Cloud

MongoDB Atlas, Search and Data Lake serve different workloads through a common API. Realm database extends data foundation to the edge.

MongoDB Atlas

The core of MongoDB Cloud is MongoDB Atlas, a fully managed cloud database for modern applications.

Realm Database


The data foundation is extended to the edge by Realm Mobile Database, a lightweight database embedded on the client. Realm database makes it simple to store data on the device and allow to access even when it is offline.


 

Advantages of MongoDB

        
 



  • Horizontally scalable (servers can be added).
  • If there is any problem, client can reach to MongoDB client support system.
  • We can store large data by distributing it into several servers. So that there are no failures if a server cannot handle a large data. 



Disadvantages of MongoDB

  • MongoDB does not support joins just like relational databases.
  • MongoDB stores key names for each value pairs. As it does not support joins redundancy will occur. So it will increase the memory usage.
  • Size of a document is limited up to 16MB.
  • Nesting of the documents limited up to 100 levels.


Comments