Rdbms Versus Ordbms Versus Oodbms
Rdbms Versus Ordbms Versus Oodbms
OODBMS
1
Database Models – Transition
Hierarchical Data Model
ER Data Model
Object-Relational DM Object-Oriented DM
2
Main Issues
Limited operations.
4
Relational DBMS Limitations
Normalisation (Normal Forms and FDs) sometimes lead to
relations which do not exist, or correspond, to entities in the
real world. This compounds on the ‘join’ feature of query
processing
5
OODBMS Architecture
OOPL DBMS
Complex Objects Persistence
Object Identity Disc Management
Methods & Messages Data Sharing
Inheritance Reliability
Polymorphism Security
Extensibility Ad Hoc Querying
Computational Completeness
6
OODBMS Main Features
Complex objects
Object Identity
Encapsulation
Classes
Inheritance
Overriding and late-binding
Extensibility
Computational completeness
Persistence
Concurrency
Recovery
Ad-hoc querying
7
Storage-Levels
Main or virtual
memory Main or virtual
memory
Transforming and
type checking
SQL
Secondary
Secondary storage
storage
8
OODBMS Advantages
Improved performance.
9
OODBMS Disadvantages
Complexity
10
Then What is an ORDBMS ?
11
Object-Relational DBMS Features
12
ORDBMS Drawbacks
Disadvantages of ORDBMS
Complexity
Increased costs
Unclear if the ORDBMS will actually combine
relationships and encapsulated objects to correctly and
completely mirror the ‘real world
Provision of a language(s) which will front end to SQL
and will provide a migration path for existing SQL
users
13
ORDBMS-SQL3
SQL3 is a superset of SQL/92, in that it supports all of the
constructs supported by that standard, as well as adding new
ones of its own.
New Types
Extended Base Types.
Row Types.
User-Defined Types.
User-Defined Routines.
Sub-Types and Super-Types.
Sub-Tables and Super-Tables.
Reference Types and Object Identity.
Collection Types.
14
OODBMS or ORDBMS ?
15
OODBMS or ORDBMS ?
16
OODBMS or ORDBMS ?
17
Concluding Remarks
OODBMS:
Abandon SQL (use an OO language instead)
ORDBMS:
Extend SQL (with OO features)
18
Concluding Remarks
19