Introduction to Advanced Data Models
Introduction to Advanced Data Models
Advanced Data
Models: Object-
Relational Data
Model
Overview
In
this lecture, we will explore advanced
data models, focusing on the Object-
Relational Data Model (ORDBMS). This
model extends the traditional relational
model by incorporating features from
object-oriented programming, enhancing
the way complex data is stored and
managed.
What is Data Model?
A data model defines how data is
structured, stored, and manipulated
in a database system.
Example: Relational model stores
data in tables with rows and
columns.
Why do we need advanced data
model?
The traditional relational model (RDBMS)
works well for structured data but struggles
with:
Complex data types (e.g., images, videos,
geospatial data).
Real-world entities (e.g., a "Student"
having multiple "Courses" and "Projects").
Limited support for inheritance,
encapsulation, and relationships beyond
foreign keys.
What is the Object-Relational Data
Model (ORDBMS)?
Definition: The ORDBMS combines features of
both relational databases and object-oriented
programming to handle complex data and
relationships more efficiently.
Relational Model Features: Tables, rows,
columns, primary keys, foreign keys.
Object-Oriented Features: Objects, classes,
inheritance, encapsulation, user-defined types.
Key Concepts of ORDBMS
(Simplified with Examples)