MongoDB- Summary

MongoBD is open-source database written in C++, this is the document oriented database which has high performance, high ability and easy scalability. Core concept of MongoDB is document and collection.

Database

Database physically contains collections, in other words, MongoDB database hold collections of documents. A single server can contains multiple databases and a database can contains multiple collections.

Collection

If you familiar with RDBMS, it’s same like a table. Basically, a collection is the group of MongoDB documents. MongoDB stores document in the collection. MongoDB collection doesn’t follow the schema concept, therefore, a document can have a different field within a collection.

Document

MongoDB documents are composed of fields and value pairs and have the following structure.

{
     Field1:value1,
     Filed2:value2
     ......................
     Fieldn:value_n
}


Key features
  • High Performance
  • Rich Query Language
  • High Availability
  • Horizontal Scalability
  • Support for Multiple storage engine

No comments:

Post a Comment