0% found this document useful (0 votes)
2 views

Relational Data Model

The Relational Data Model organizes data into tables consisting of rows and columns, proposed by E.F. Codd in 1970, and serves as the foundation for modern databases like MySQL and Oracle. Key concepts include relations, tuples, attributes, primary and foreign keys, and schemas, with advantages such as simplicity, flexibility, and data integrity, while facing challenges like performance issues and storage overhead. It is widely applied in various fields including business, education, healthcare, and e-commerce.

Uploaded by

wojiton657
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Relational Data Model

The Relational Data Model organizes data into tables consisting of rows and columns, proposed by E.F. Codd in 1970, and serves as the foundation for modern databases like MySQL and Oracle. Key concepts include relations, tuples, attributes, primary and foreign keys, and schemas, with advantages such as simplicity, flexibility, and data integrity, while facing challenges like performance issues and storage overhead. It is widely applied in various fields including business, education, healthcare, and e-commerce.

Uploaded by

wojiton657
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Relational Data Model

The Relational Data Model is a widely used database model that organizes data into tables
(also called relations). Each table consists of rows (tuples) and columns (attributes). It was
proposed by E.F. Codd in 1970 and is the foundation of modern relational database systems
like MySQL, PostgreSQL, Oracle, and Microsoft SQL Server.

Key Concepts
1. Relation:
• A table that represents a specific type of data, such as "Students" or "Courses."
2. Tuple:
• A single row in a table representing an individual record or data item.
3. Attribute:
• A column in a table representing a property or characteristic of the data.
4. Domain:
• A set of permissible values for a particular attribute. For example, the "Age"
attribute might have a domain of positive integers.
5. Primary Key:
• A unique identifier for each tuple in a relation. For example, "Student_ID" in a
"Students" table.
6. Foreign Key:
• An attribute in one table that establishes a relationship with a primary key in
another table.
7. Candidate Key:
• A set of attributes that can uniquely identify a tuple. One of these is chosen as
the primary key.
8. Schema:
• The structure of the database, including tables, attributes, and relationships.

Characteristics of the Relational Data Model


1. Data Representation:
• Data is stored in tables with rows and columns.
2. Relationships:
• Relationships between tables are established using foreign keys.
3. Declarative Query Language:
• Uses SQL (Structured Query Language) for defining, querying, and manipulating
data.
4. Normalization:
• A process to minimize redundancy and ensure data integrity by organizing data
into smaller, related tables.

Example of Relational Data Model

Relationships:
• Foreign Key: Student_ID in the "Enrollments" table references Student_ID in the
"Students" table.
• Foreign Key: Course_ID in the "Enrollments" table references Course_ID in the
"Courses" table.

Advantages of Relational Data Model


1. Simplicity:
• The table format is intuitive and easy to understand.
2. Flexibility:
• Supports complex queries and relationships using SQL.
3. Data Integrity:
• Constraints like primary keys, foreign keys, and unique constraints ensure
accuracy.
4. Data Independence:
• Logical and physical data independence allows changes to the schema without
affecting the application.
5. Scalability:
• Relational databases can handle large datasets and concurrent users efficiently.

Disadvantages of Relational Data Model


1. Performance Issues:
• Complex joins in large databases can slow down performance.
2. Storage Overhead:
• Normalization can lead to the creation of many tables, increasing complexity
and storage requirements.
3. Limited Support for Complex Data Types:
• Does not natively support hierarchical or multimedia data; extensions or other
models are required.

Applications of Relational Data Model


1. Business Applications:
• Inventory management, customer databases, and financial systems.
2. Education Systems:
• Student records, course management, and grading systems.
3. Healthcare:
• Patient records, appointments, and billing systems.
4. E-Commerce:
• Product catalogs, user accounts, and order tracking.

You might also like