Getting started with MongoDB
MongoDB is a very popular document-oriented NoSQL database. It provides a high performance engine for storage and query retrieval. In a document-oriented database, we store the data into the collections of documents; in this case, it is JSON-like documents called BSON (Binary JSON), which provide us with a dynamic schema data structure. MongoDB implements functionalities such as ad hoc queries, replication, load balancing, Aggregation, and Map-Reduce. MongoDB is perfect for an operational database. However, its capabilities as a transactional data source are limited. We can see in the following image the similarities between the structures of a relational database (RDBMS) and MongoDB. We may find more information about MongoDB from its official website:
From the preceding image, we can see that the internal structure of MongoDB is very...