Skip to content
We areTOP 1%

What is the difference between DBMS and RDBMS?

EasyConceptDBMS Fundamentals
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

A DBMS is any software that manages a database. An RDBMS (relational DBMS) is a DBMS that stores data in tables, called relations, made of rows (tuples) and columns (attributes), and links tables through keys. MySQL, PostgreSQL and Oracle are RDBMSs, while hierarchical systems and simple file-based stores are DBMSs that are not relational.

  • An RDBMS enforces keys and constraints, such as primary and foreign keys, which keeps related tables consistent.
  • It uses SQL as its standard query language and supports joins between tables.
  • RDBMSs support ACID transactions and many concurrent users; simple DBMSs may not.
  • The number of columns of a relation is its degree, and the number of rows is its cardinality.

Example:

students                    courses
roll | name | course_id     course_id | title
1    | Asha | C1            C1        | DBMS
2    | Ravi | C2            C2        | OS

The course_id column links the two tables, which is the relational idea. The students relation has degree 3 and cardinality 2.

More in DBMS Fundamentals

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account