Mongo Db

it19214580 Bulner S.M.
4 min readMar 7, 2021

Mongo Db is one of the most popular databases used by modern day web applications. With above 15 million downloads in a short time since its release, MongoDB is one of the top NoSQL database technologies of our times, which empowers the users to manipulate effectively, query, and gain interesting insights through analytics from big data.

History of Mongo Db

Mongo Db version history dates back to 2007. It was developed in 2007 by a New York-based organization 10gen which is now called MongoDB Inc. MongoDB was developed as a platform as a service initially.

Kevin p. Rayan, Dwight Merriman and Eliot Horowitz are the 3 developers who started 10gen (MongoDb Inc). Rapid development on the new database was undertaken from 2007 to 2009. The core engine was written in C++. The database was named MongoDB since the idea was to use it to store and serve humongous amount of data required in typical use cases such as content serving. The first version of MongoDb (MongoDb 1.0) was released in February 2009. The initial version focused on providing a usable query language with document model, indexing and basic support for replication. It also had experimental version of sharding.

Features of Mongo Db

  • Schema-less Database: It is the great feature provided by the MongoDB. A Schema-less database means one collection can hold different types of documents in it.
  • Document Oriented: In MongoDB, all the data stored in the documents instead of tables like in RDBMS. In these documents, the data is stored in fields(key-value pair) instead of rows and columns which make the data much more flexible in comparison to RDBMS. And each document contains its unique object id.
  • Indexing: In MongoDB database, every field in the documents is indexed with primary and secondary indices this makes easier and takes less time to get or search data from the pool of the data. If the data is not indexed, then database search each document with the specified query which takes lots of time and not so efficient.
  • Scalabiltiy: MongoDB provides horizontal scalability with the help of sharding. Sharding means to distribute data on multiple servers, here a large amount of data is partitioned into data chunks using the shard key
  • Replication: MongoDB provides high availability and redundancy with the help of replication, it creates multiple copies of the data and sends these copies to a different server so that if one server fails, then the data is retrieved from another server.
  • Aggregation: It allows to perform operations on the grouped data and get a single result or computed result. It is similar to the SQL GROUPBY clause. It provides three different aggregations i.e, aggregation pipeline, map-reduce function, and single-purpose aggregation methods
  • High Performance: The performance of MongoDB is very high and data persistence as compared to another database due to its features like scalability, indexing, replication, etc.

Way is Mongo Db popular ?

Mongo Db has more than 22,200 customers in more than 100 countries. The Mongo Db database platform has been downloaded over 125 million times. compared to other databases mongo db has managed to capture a large market share. following are some reasons for the popularity of mongo db.

The rise of MEAN stack: MongoDB was one of the first NoSQL databases to incorporate the MEAN stack on its build. With the rise of MEAN stack in the recent past, it meant that JavaScript developers had the option of working from frontend to backend and even finalize with the database. MongoDB was perfect for this reason. It is one of the best solutions if you are looking towards raising the mean stack.

No learning or mastering SQL: Learning and mastering SQL for you to use relational databases optimally was the biggest drawback of the previous systems. No wonder the market had very few IT experts. With MongoDB already prosperous in the earlier mentioned factors, as NoSQL databases were on the rise, they already were a step ahead. MongoDB had already put up developers and business-friendly tools that were just too lucrative.

Accelerating time to market: MongoDB has been proven to accelerate time to market by up to x4. This accelerated time to market is thanks to this particular NoSQL database solution being able to improve operational efficiency.

--

--