Lec 11
Lec 11
Student ID Student ID
Student ID Name Name
Name Address Address
Address Misc. Student Amt. Paid
Grades data Amt. owed
Periodic Report
Periodic
grades For
Billing
report alumni
Statement
students
Database Management System
Course grade file Student Record File Tuition billing file
Query: How
many items in stock?
DBMS retrieved
information from
product line
Database Management System Software
1. Query Languages
2. Report Writer
3. Utilities
DATABAS
E
DBMS
Data
Query dictionary
Location of data in
database are
determined
Transaction
log ( records
current
Database activities)
Answer
to
query
Types of Database Organization
• Common database structure are
1.Hierarchical Model
2. Network Model
3. Relational Model
4. Object oriented Model
Hierarchical DBMS
• Fields or records are arranged in related groups
resembling a family tree, with “child” records
subordinate to “parent” records
• A parent may have more than one child, but a
child always has only one parent
• To find a record, you have to start at the top
with a parent & trace down the chart to the
child
Hierarchical Database Model
A cruise ship reservations system
Parts of Los
departure Miami New York
Angeles
Parking violation Citation Parking Date cited Car license Fines paid/
Citation file number violation number not paid
type
Relational Database Model
Object-oriented database model
An object oriented model or object-relational
database management system (ORDBMS), is
a database management system similar to
a relational database, but objects, classes and
inheritance are directly supported in database
schemas and in the query language.
Object-oriented database model
Entity-Relationship Model