Professional Documents
Culture Documents
System
By
Sudarshan
STUDENT
Student# StudentName Address
STUDIES
1 jane jones 6 The High Street
Student# Course#
2 brian brown 104 Park Avenue
1 C1
3 clara clarke 97 Gilmore Street
2 T2
4 sally smith 68 Lemon Grove
3 T2
5 tom taylor 53 London Road
4 Q9
COURSE 5F
Course# CourseName
C1 computing
F3 flower arranging
Q9 quantum mechanics
T2 theology
OODBMS – how it looks
RDBMS .. OODBMS
Original table
Result
- The statement queries a relational
Name database.
Ford Mustang
=> Returns a table with rows.
Mercedes
SLK
Result of the query (OQL)
Original table
Result
- The statement
String String queries a object-
oriented database
Ford Mustang Mercedes SLK
=> Returns a
collection of objects.
OODB vs. RDB
OODB RDB
• Hierarchical • Relational
• Object Query • ANSI SQL
(OQL) • Two level storage
• Single level • Unique keys
storage • Foreign keys &
• Object ID Joins
• Reference
OODBs. vs. RDBs