OODBMS Presentation
OODBMS Presentation
April13 2011
By
Sai Silpa Surapaneni
1. Introduction
2. Object oriented database.
3. How is it different from Relational Database?
4. Use of object oriented databases
5. Object oriented databases Vs Relation databases
6. Advantages
7. Disadvantages
8. Summary
Database is designed in order to store any type
of data , that may be simple data(like just
text, numerics), complex data.
Complex data???
What is this??
A lack of unique, natural identification.
A large number of many-to-many relationships.
For e.g., In computer aided design
application in which the user can save and
load complex engineering drawings into
memory.
So this data can easily be retrieved when we
use “Object Oriented Databases”
Attributes:
Attributes are data which defines the characteristics of
an object.
Methods:
Methods are the actions defined for a class.
Inheritance:
For any class there can be a sub class. The subclass
inherits the structure of the class as well as its methods. In
addition you can define additional attributes and methods for
the subclass
CAS Applications (CASE-computer aided
software engineering, CAD-computer aided
design, CAM-computer aided manufacture)
Multimedia Applications
Commerce
OBJECT ORIENTED DATABASES
SHOULD NOT BE USED WITH:
When there would be few join tables.
There are large volumes of simple
transactional data.
Relational Database uses SQL(Structured
Query Language)
Object Oriented database uses OQL(Object
Query Language)
(syntax is based on SQL)
Consider a table:
Student ID Student name Department
1201 John Computers
1202 Smith Arts
1203 Jim Arts
Execute the Query
What are the names of Art department students?
QUERY RETURNS
OQL SQL
object Tuple
Collection of objects Table
Abstraction: Class definition, provides
extension to complex attribute types