MongoDB
INTRODUCTION
MongoDB is a document-oriented NoSQL database used for high volume data storage. Instead of using tables and rows as in the traditional relational databases, MongoDB makes use of collections and documents. Documents consist of key-value pairs which are the basic unit of data in MongoDB. Collections contain sets of documents and function which is the equivalent of relational database tables. MongoDB is a database which came into light around the mid-2000s.
MongoDB’s document are encoded in a JSON-like format, called BSON.BSON is a natural fit for modern object-oriented programming methodologies and is lightweight, fast, traversable .MongoDB uses BSON as a network transfer format for document. BSON at first seems BLOB-like ,but there exists an important difference : the MongoDB can reach inside BSON object ,even nested once, using doe notation . This allows MongoDB to built indexes and match object against query expression on both top-level and nested BSON keys.
USE CASES OF MongoDB
1. Single View Explained.
2. Internet Of Things (IOT).
3. Mobile Application.
4. Real-time analytics.
5. Enterprise Data Warehouse.
MongoDB Features
Document Oriented: MongoDB stores the main subject in the minimal number of documents and not by breaking it up into multiple relational structures like RDBMS.
Indexing: Without indexing, a database would have to scan every document of a collection to select those that match the query which would be inefficient.
Scalability: MongoDB scales horizontally using sharing (partitioning data across various servers).
Replication and High Availability: MongoDB increases the data availability with multiple copies of data on different servers.
Aggregation: Aggregation operations process data records and return the computed results.
Why Use MongoDB??
1. Document-oriented
2. Ad hoc queries
3. Indexing
4. Replication
5. Load balancing
Problem solved by MongoDB?
1. Integrating large amounts of diverse data.
2. Describing complex data structures that evolve.
3. Delivering data in high-performance applications.
4. Supporting hybrid and multi-cloud applications.
5. Supporting agile development and collaboration.
Advantages of MongoDB
1. Schema less − MongoDB is a document database in which one collection holds
different document
2. Structure of a single object is clear.
3. Deep query-ability.
4. Ease of scale-out − MongoDB is easy to scale.
5. Conversion mapping of application objects to database objects not needed
Disadvantages of MongoDB
1. Joins not Supported - MongoDB doesn’t support joins like a relational
database.
2. High Memory Usage - MongoDB stores key names for each value pair.
3. Limited Data Size - You can have a document size, not more than 16MB
4. Limited Nesting - You cannot perform the nesting of documents for more than
100 levels.
Some Real-World Companies that uses MongoDB
1. eBay.
2. MetLife.
3. Shutterfly.
4. Aadhar
Conclusion
Document oriented and schema-less structure makes the MongoDB one of the preferable choice. Many other features like Aggregation pipeline, Shading, Replication, etc. help the database query results faster with better performance. Load Balancing is done with these features results in better performance. All these features make the MongoDB one of the better choice for Big Data Application and Real-Time Applications. The demand for NoSQL databases like MongoDB has gone up in the recent times. Here are some real-world use cases of MongoDB along with some companies that use MongoDB for their practical applications.
Thanks for reading!!
Keep learning!!!
Keep sharing information!!!
Reference
- https://www.mongodb.com/docs/manual/reference/limits/#:~:text=The%20maximum%20BSON%20document%20size,MongoDB%20provides%20the%20GridFS%20API.
- https://en.wikipedia.org/wiki/MongoDB
Created By :-
- Swapnil Patil
- Devyani Ushir
- Komal Shinde
- Aditya Vhanmane


Good effortsπ
ReplyDeleteVery informative π
ReplyDeleteVery Informative
ReplyDeleteVery informative and interesting blog I like it . The information is actually helpful.
ReplyDeleteNice information... Highly appreciated
ReplyDeleteWell written and elaborated.
ReplyDeleteNice Information.....
ReplyDeleteVery Informative ππ»
ReplyDeleteNice content
ReplyDeleteFilling good to reading this blogπ
ReplyDeleteNice work.
ReplyDeleteReally appreciable. Nice content
ReplyDeleteGood work guies
ReplyDeleteNice Work , Great blog!!
ReplyDeleteSuch a helpful blog.. !!
ReplyDeleteGreat π
ReplyDeleteNice blog π
ReplyDeleteVery informative!
ReplyDeleteNice Blog
ReplyDeleteNice π
ReplyDeleteVery informative
ReplyDeleteGreat work and Very informative blog !!
ReplyDelete