5.2 Object Based Databases
5.2 Object Based Databases
UNIT NO 5
ADVANCED TOPICS
Object-Based Databases‘,
‘Farzad Nozarian‘);
2
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
Summary
1 Overview
4 Table Inheritance
• Overview
Obstacles using the relational data model
• richer type system including complex data types and object orientation
5
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
Object-Oriented Database
Object-Oriented System
DBMS
complex objects encapsulation
Persistence
Example1 : addresses
A better alternative structured data types (street, address, city, state, postal code)
7
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
A library application
satisfies 4NF
8
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
The typical user or programmer of an information-retrieval system thinks of the database in terms
The 4NF design requires queries to join multiple relations, whereas the non-1NF design makes
9
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
Structured Types
Allow composite attributes of E-R designs to be represented directly
10
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
Structured Types
11
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
• Table Inheritance
create table students of Student under create table teachers of Teacher under
people; people;
14
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
https://youtu.be/us8MRXcA240
https://youtu.be/cw9NmtqZPzg
http://tiny.cc/
https://youtu.be/fyTMM1_KP9o
15
CS8492
DATABASE MANAGEMENT SYSTEMS (Common to CSE & IT)
16