Object Oriented Database
And Object Relational Database
Dr. Jihan Abdulazeez Ahmed
Computer Science Department
Object Oriented database and
Relational Database
• As we have discussing in class already. Today I
will be going over OODB.
• To begin I will discuss why we would choose to
use this style of a databaase over a relational
db
Object Oriented database and
Relational Database
Object-Oriented Database
Management Systems
• Object-oriented database management systems (OODBMSs) also
called ODBMS (Object Database Management System) combine
database capabilities with object-oriented programming language
capabilities.
• OODBMSs allow object-oriented programmers to develop the
product, store them as objects, and replicate or modify existing
objects to make new objects within the OODBMS.
• Because the database is integrated with the programming language,
the programmer can maintain consistency within one environment,
in that both the OODBMS and the programming language will use
the same model of representation.
• Relational DBMS projects, by way of contrast, maintain a clearer
division between the database model and the application.
Example of OODB
• Real-life parallel to objects is a car engine. It is composed of
several parts: the main cylinder block, the exhaust system,
intake manifold and so on. Each of these is a standalone
component; but when machined and bolted into one
object, they are now collectively referred to as an engine.
• Similarly, when programming one can define several
components, such as a vertical line intersecting a
perpendicular horizontal line while both lines have a
graded measurement. This object can then be collectively
labeled a graph. When utilizing the ability to plot
components, there is no need to first define a graph; but
rather the instance of the created graph can be called.
Object-Relational Database (ORDB)
• An object-relational database (ORDB) is a database
management system (DBMS) that's composed of both a
relational database (RDBMS) and an object-oriented
database (OODBMS). ORD supports the basic components
of any object-oriented database model in its schemas and
the query language used, such as objects, classes and
inheritance.
• An object-relational database may also be known as an
object relational database management systems
(ORDBMS).
• ORD is said to be the middleman between relational and
object-oriented databases because it contains aspects and
characteristics from both models.
How the RDB and OODB model the Cat
Object Oriented Database
Vs. Object Relational Database
STONEBRAKER’S APPLICATION MATRIX