MongoDB: The Next Generation, NoSQL, Document Oriented Database!

Start Here

Get in touch with a
TriCore Solutions specialist

Blog | Jun 30, 2015

MongoDB: The Next Generation, NoSQL, Document Oriented Database!

MongoDB is a document oriented database that provides high performance, high availability, and easy scalability. 


MongoDB is a document oriented database that provides high performance, high availability, and easy scalability.

MongoDB falls into the group of document-oriented NoSQL databases. It was written in C, C++ and JAVA SCRIPT. It was first developed by a software company called 10gen (now MongoDB Inc.) in October 2007.

MongoDB is the fourth most popular type of database management system, which is being widely used now.


Image Source:

What is a document oriented database?

A document-oriented database is a kind of a computer program designed for storing, retrieving, and managing document-oriented information. Document-oriented databases are one of the main categories of NoSQL databases. For example, a document could be a blog post with the comments and the tags stored in a simple organized way.

Let’s understand some of the MongoDB Concepts: The following are the three main components of MongoDB that describe what a document oriented database are comprised of:

Database: MongoDB arranges data into databases in the very same way as most relational databases do. In an RDBMS (Relational Database Management Systems), a database is a set of tables, stored procedures, views, and so on. In MongoDB, a database is a set of collections. A MongoDB database contains one or more collections.

Collection: A collection is the equivalent of an RDBMS table. Documents within a collection can have different fields. Typically, all documents in a collection have a similar or related purpose.

Documents: A record in a MongoDB collection and the basic unit of data in a MongoDB. A document contains a set of fields or key-value pairs. The best way to think of a document is similar to a multidimensional array.

More features of MongoDB are: 

  1. A document-oriented database that supports indexing and ad hoc queries.
  2. Supports replication.
  3. Load balancing is supported.
  4. File storage which is called as GridFS.
  5. MongoDB has official drivers for a variety of popular programming languages and development environments.
  6. MongoDB Management Service (MMS).


Image Source:

MongoDB Utilities/Tools: These are built-in tools/processes which primarily operate by interacting with a running Mongodb instance. Not only do these processes create traffic on a running database instance, they also force the database to read all data through memory. Each tool has been designed for a specific purpose to cater to the needs of various functions of a document oriented database.

  • mongo It is mongo's interactive shell which lets DBA's view, insert, remove and update data in their databases, as well as get replication information, set up sharding, shut down servers, execute JavaScript, and more.
  • mongostat It’s a command-line tool that displays a summary list of status statistics for a currently running MongoDB instance.
  • mongotop It’s a command-line tool providing a method to track the amount of time a MongoDB instance spends reading and writing data. 
  • mongoimport, mongoexport It’s a command-line utilities for creating a binary export of the contents of a Mongo database.

In a Nut shell:
The rise of NoSQL databases marks the end of the era of RDBMS dominance. The evolution of these new databases is taking a big leap in the database industry. The large-scale deployments of MongoDB already demonstrates its dominant usage in the marketplace. Some of the prominent users of MongoDB include: Metlife, eBay, SAP, Foursquare, Sophos.

Though NoSQL databases are gaining prominence, RDBMS has not lost all its sheen. They are still being used in the majority of situations. They, however, will no longer be a quintessential choice.