DBWK 2
DBWK 2
Database System
Concepts and
Architecture
Hierarchical
Data Model
First Generation
Network
Data Model
Data Models ER
Data Model
Semantic
Data Models
Third Generation
Object-Relational Object-Oriented
Data Model Data Model
Hierarchical Model Diagram
Hierarchical Model
ADVANTAGES:
-construct
Hierarchical Model is simple to
and operate on
- arrangement
Database is visualized as a linear
of records
Customer Installments
Entity
Subject on which
data is held
ER Model cont… EER Diagram
Name
CustID PayDate
Contact PayNo CustID
1 pays n
Customer Installments
Attribute
Detail/Description
about the entity
Relational Model
Customer CustID Name Contact AmtDue DateDue
C001 Bob 444 2211 2000 121009
C002 Harry 555 3366 5000 251210
Relation Name C003 Jim 666 4477 6000 180909
Attributes
Stored Database
Database – 3-Schema Architecture cont…
External schema
DBMS Languages
Next Lab Session
A database system is
Overall System broadly divided into
Architecture
Storage Manager
Compiler and
DML Queries DDL Interpreter
Linker
Application
Query Tools
Interfaces
Application
Program Query DML Compiler Query Processor
Object Code Evaluation and Organiser
Engine
Disk Storage
Indices Data Dictionary
Client-Server
Centralized
Dumb Terminals
File-Server and
Client-Server.
File-Server Workstations
Database
Clients
Two-Tier Client -Server Manage the user interface. Accept
and check syntax of user input.
Server
LAN Accept and process database
requests from client.