First lets try to undertand what is NoSQL?
NoSQL Database is used to refer a non-SQL or non relational database.
It provides a mechanism for store and receive data other than tabular relations model used in relational databases. In other words ,NoSQL database does not use tables for storage of data. It is generally used to store big data and real-time web applications.
Now what is MongoBD?
MongoDB is a NoSQL(Not only Structured Query Language) database program, which is cross-platform document-oriented. It is an open source database management system, which supports various forms of data.
Its useful in big data applications that deals with large volume of data and also for the processing of unstructured data.The architecture of MongoDB consists of collections and documents. It uses document storage BSON format (binary form of JSON).
MONGODB VS RDBMS
- RDBMS has a database of relations, but MongoDB has a database of non-relations
- We need to design the table in RDBMS and then only we can only start coding,
but we can start coding directly in MongoDB. - RDBMS supports SQL language where as MongoDB supports both SQL as well as JSON query language.
- RDBMS is based on tables and rows and MongoDB is based key-value and documents .
- Compared to MongoDB unstructured data, RDBMS processes data very slowly.
- MongoDB is horizontally scalable, where as, RDBMS is vertically scalable.



