Lecture 02
Lecture 02
Management
Systems
Lecture - 2
Lecture Overview
Database Architecture
Data Independence
Database
Architecture
Three Level
Architecture
A basis for understanding DBMS
functionalities
Three levels at which data can be
described
Objective
Separate users view from the physical representation
Why?
Conceptual Conceptual
Level Schema
Internal
Internal Level
Schema
Physical Data
Organization Database
The Architecture
Depicted by three schemas or three models
Refers to permanent structure or intention of database
Level 1
External View
Users may have different views of the same data e.g. date, time etc.
External View
Virtual/calculated data: that is not actually stored in the database but is
created when needed e.g. age, statistical data etc.
External View
DBMS uses external views to create user interface for different users which
is both the facility and barrier
External View
User’s external view is created after considering data access, reports, and
the transactions needs.
External View
External Layer
Lower Layers
Level 2
Logical or Conceptual
View