What is MongoDB?
MongoDB is a database in which the data is not in the form of an SQL database.
What was the need for MongoDB?
The RDBMS is always the best choice for storing data from all types of applications. But the problem came with the RDBMS was scalability like data when the data starts to grow exponentially. MongoDB was therefore born.
What is the difference between RDBMS and MongoDB?
- RDBMS is written in C, C ++, while MongoDB is written in C, C ++ and JavaScript.
- RDBMS stores data in a row structure with two dimensional columns, while in MongoDB, data is stored as a data document template.
- When developing a database in RDBMS, you need to design your own table and create a database structure according to the project requirements, while in MongoDB, there is no need to worry about the structure of the database.
- When dealing with RDBMS, you must use SQL Query to retrieve and store data, while when dealing with MongoDB, you can use a JSON query to retrieve and store data.
- MongoDB is almost 100 times faster than the RDBMS.
Features of MongoDB:
- Built-in support for data models
- Automatic sharing
- A wide range of storage engine support
- In memory speed
- Manageability
When to use the MongoDB database?
- MongoDB but be used when you have very large scale projects because of this the data would be easily scalable and the work of the application would be faster. This is possible because MongoDB does not have an ORM.
- A real example of MongoDB database In India, the unique identification project, ie Aadhar, is the system developed using the MongoDB database. eBay is an American multinational consumer-to-Internet consumer that also uses MongoDB.
Leave A Comment