The Relational Model is the most widely used data model in DBMS. It was introduced by E.F. Codd in 1970. This model represents data in the form of tables called relations, making it simple, flexible, and mathematically sound. It forms the basis of popular database systems such as MySQL, Oracle, SQL Server, and PostgreSQL.
A relation is a two-dimensional table consisting of rows and columns.
Example:
Student Table
| RollNo | Name | Course |
|---|---|---|
| 101 | A | BCA |
| 102 | B | MCA |
A tuple represents a single record in the table.
Example:
(101, A, BCA)
Attributes are fields that represent properties of an entity.
Example: RollNo, Name, Course.
Domain is the set of valid values an attribute can take.
Example:
RollNo domain = Positive integers
Course domain = {BCA, MCA, B.Tech}
Keys help uniquely identify records and maintain relationships.
Uniquely identifies each record.
Example: RollNo
Creates a link between two tables.
Example:
In Enroll table, StudentID is a foreign key referencing Student table.
All possible keys that can be primary key.
A key formed by combining multiple attributes.
Integrity constraints ensure data validity and consistency.
Primary key cannot be NULL or duplicate.
Foreign key must match an existing value in the parent table.
Values must belong to the defined domain.
These constraints improve reliability and avoid anomalies.
Relational model uses Relational Algebra for data manipulation.
Selects rows based on condition.
Example: σ(Course='BCA')(Student)
Selects specific columns.
Example: π(Name, Course)(Student)
Combines rows of two compatible relations.
Returns common rows from two tables.
Combines every row of first table with every row of second.
Combines related tuples from two tables using a common attribute.
Types: Inner Join, Outer Join, Natural Join.
Simple and easy to understand (tables are intuitive).
Strong data integrity through keys and constraints.
Uses SQL, a powerful and standard query language.
Supports ACID properties (reliable transactions).
High data independence — physical storage details hidden from user.
Flexible — easy to insert, update, delete, and query data.
Can become slow for extremely large datasets (Big Data).
Complex joins reduce performance.
Not ideal for unstructured or semi-structured data.
Requires high computing resources for very large relationships.
The Relational Model is the foundation of modern DBMS systems. Its table-based structure, strict integrity rules, and powerful SQL support make it reliable, scalable, and easy to use. Even though modern applications use NoSQL for large-scale systems, the relational model remains the most dominant and widely implemented model in database design and management.
Take quizzes related to this topic and see where you stand!
Start Quiz Now