The Wayback Machine - https://web.archive.org/web/20240716094749/https://www.geeksforgeeks.org/difference-between-rdbms-and-mongodb/
Open In App

Difference between RDBMS and MongoDB

Last Updated : 22 Feb, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

MongoDB is an open-source document-oriented database used for high volume data storage. It falls under the classification of a NoSQL database. NoSQL tool means that it doesn’t utilize the usual rows and columns. MongoDB uses BSON (document storage format) which is a binary style of JSON documents. 

Features of MongoDB:

  • Multiple Servers: It can run over multiple servers.
  • Schema-less Database: It is a schema-less database.
  • Indexing: Any field in the document can be indexed.
  • Rich Object Model: It supports a rich object model.
  • High scalability
  • Distributed database

What is RDBMS?

It stands for Relational Database Management System. It stores data in the form of related tables.
Features of RDBMS:

  • Gives a high level of information security.
  • It is quick and precise.
  • Provides facility primary key, to exceptionally distinguish the rows.
  • Schema-fix Database
  • Not scalable 

The trade-off between RDBMS and MongoDB:

Trade-off b/w RDBMS and MongoDB

Difference between RDBMS and MongoDB:

RDBMS MongoDB
It is a relational database. It is a non-relational and document-oriented database.
Not suitable for hierarchical data storage. Suitable for hierarchical data storage.
It is vertically scalable i.e increasing RAM. It is horizontally scalable i.e we can add more servers.
It has a predefined schema. It has a dynamic schema.
It is quite vulnerable to SQL injection. It is not affected by SQL injection.
It centers around ACID properties (Atomicity, Consistency, Isolation, and Durability). It centers around the CAP theorem (Consistency, Availability, and Partition tolerance).
It is row-based. It is document-based.
It is slower in comparison with MongoDB. It is almost 100 times faster than RDBMS.
Supports complex joins. No support for complex joins.
It is column-based. It is field-based.
It does not provide JavaScript client for querying. It provides a JavaScript client for querying.
It supports SQL query language only. It supports JSON query language along with SQL.

Previous Article
Next Article

Similar Reads

Difference between RDBMS and HBase
RDBMS (Relational Database Management System) and HBase are both types of database management systems, but they differ in several ways: Data Model: RDBMS uses a relational data model, where data is stored in tables with predefined columns and rows. HBase, on the other hand, uses a column-family data model, where data is stored in column families, w
5 min read
Difference between RDBMS and OODBMS
RDBMS: RDBMS stands for Relational Database Management System. It is a database management system based on the relational model i.e. the data and relationships are represented by a collection of inter-related tables. It is a DBMS that enables the user to create, update, administer and interact with a relational database. RDBMS is the basis for SQL,
2 min read
Difference between RDBMS and Hive
RDBMS: RDBMS stands for Relational Database Management System. RDBMS is a such type of database management system which is specifically designed for relational databases. RDBMS is a subset of DBMS. A relational database refers to a database that stores data in a structured format using rows and columns and that structured form is known as table. Th
2 min read
Difference between ER Model and RDBMS
1. ER (Entity- Relationship) Model : ER model stands for entity relationship model. It specifies the structure of a database by giving the relationship between the entities of the system. An entity set is a group of entities that are similar to each other. It is considered as a conceptual design which can further be used to implement a database. It
2 min read
Difference Between RDBMS and Hadoop
RDMS (Relational Database Management System): RDBMS is an information management system, which is based on a data model.In RDBMS tables are used for information storage. Each row of the table represents a record and column represents an attribute of data. Organization of data and their manipulation processes are different in RDBMS from other databa
2 min read
Difference between RDBMS and Couchbase
1. RDBMS : RDBMS stands for Relational Database Management Systems. It is most popular database. In it data is store in the form of row that is in the form of tuple. It contain numbers of table and data can be easily access because data is store in the table. This Model was proposed by E.F. 2. Couchbase : Couchbase Server is an open-source, distrib
2 min read
Difference between RDBMS and IBM DB2
1. RDBMS : RDBMS stands for Relational Database Management Systems. It is most popular database. In it data is store in the form of row that is in the form of tuple. It contain numbers of table and data can be easily access because data is store in the table. This Model was proposed by E.F. 2. IBM Db2 : IBM Db2 is a family of data management produc
2 min read
Difference between Cassandra and RDBMS
Cassandra: Cassandra is a high-performance and highly scalable distributed NoSQL database management system. Cassandra deals with unstructured data and handles a high volume of incoming data velocity. In Cassandra data is written in many locations also data come from many locations this row represents a unit of replication and the column represents
2 min read
Difference Between RDBMS and DBMS
Database Management System (DBMS) is a software that is used to define, create, and maintain a database and provides controlled access to the data. Why is DBMS Required?Database management system, as the name suggests, is a management system that is used to manage the entire flow of data, i.e, the insertion of data or the retrieval of data, how the
4 min read
Difference between RDBMS and ORDBMS
1. RDBMS : RDBMS stands for Relational Database Management System. In this database management, the data is organized into the related tables. To access the database it uses Structured Query Language (SQL). This model is based on the mathematical theory of relational algebra and calculus. The original concept for the model is proposed by Dr. E.F. C
3 min read