Object DataBase
Management System
(ODBMS)
By Wasim Akram
Mohammad Tayyab
Sajid Saeed
What is ODBMS & ODB?
ODBMS
●
It is a software that operates object-oriented databases.
●
ODMG defines ODBMS as “A DBMS that integrates database capabilities with object-
oriented programming language capabilities” .
ODB
●
It is a database model in which data is represented in the form of
OBJECTS.
HISTORY OF ODBMS
ODBMS was introduced during the mid
1980’s and early 1990's.
It was mainly used in ComputerAided Design
(CAD) and ComputerAided Software
Engineering (CASE) tools
What is Object?
An object is a complex
data or entity, which
consists of State and
Behaviours. Object
In C++ (an OOP language)
an object is defined as any
instantiation of a class
type data, Attr Rela Me Me
tion
or simply a variable
declared for a class type
ibu ship tho ssa
data. tes s ds ges
Class = data structure + Methods
Data structure is a user defined data type which consists of
elementary data types.
●
e.g. in C++
●
struct student
●
{ varchar name,
●
int roll no,
●
float gpa
●
};
Function / Method
●
The set of instructions which defines the procedure to perform
an operation on the data structure.
Class
●
Class is a user defined “complex data type" including its
member data types (attributes) and operations.
OBJECT
Object (Amir)
Class (Student)
ODBMS COMPONENTS
Languag It provides interface between query
●
and underlying secondary data
e Drivers
storage.
●
e.g. C++, Java, .NET
Query ●
Responsible for interpreting &
executing query Commands.
Engine e.g. OQL, LINQ, JDOQL
●
Transactio ●
Ensures that a group of OQL
commands either fail or succeed in
n performing a transaction (unit of
Engine work).
Storage ●
Stores and retrieves data from
secondary storage. It also provides
Engine
methods to administer & control
information s.
Features of ODBMS
Persistence of data
Indexing
Transaction Management
Recovery
Advantages of ODBMS
Models and stores complex data (objects)
and complex relationships.
Data and methods are stored together and
managed together.
DBMS (Application) & Database both use
same object-oriented model and persistent
programming languages.
Fast retrieval of objects.
Disadvantages of ODBMS
Don’t have flexible query engine.
Complicated. Requires technical skills to
operate.
Only operations that are defined in class,
can be performed.
Not efficient for simple data and
relationships.
References
C. j. Date, C. D. (1999), An Introduction to Database Systems.
http://www.objs.com/x3h7/odmg.htm
http://
www.servicearchitecture.com/database/articles/odmg_3_0.html
http://
www.service-architecture.com/object-oriented databases/articles/o
bject-oriented_database_oodbms_definition.html
http://
ocp-certification.com/odbms-has-four-main-components.html
http://www.objectdb.com/object/db/database/features
http://
download.oracle.com/javase/tutorial/java/concepts/object.html