SlideShare a Scribd company logo
© Virtual University of Pakistan
Database
Management
Systems
Lecture - 4
© Virtual University of Pakistan
Today’s Review
Continue 3-L architecture
Data Independence
Different aspect of DBMS
© Virtual University of Pakistan
Level 3
Internal or Physical
View
Concerns about the physical implementation of
the database
© Virtual University of Pakistan
Internal View
DBMS chooses type of data structures
lays out data on storage devices with
operating system access methods
© Virtual University of Pakistan
Internal View
Internal record: a single stored record
Does not just contain what we see at the
conceptual level
DBMS adds other data
© Virtual University of Pakistan
Physical Level
Generally same as Internal
Actual representation of data on the
storage device
In the binary format
OS responsibility
© Virtual University of Pakistan
Inter-Schema
Mappings
Also a part of 3-level architecture
External/conceptual mapping
Conceptual/Internal
© Virtual University of Pakistan
Ext/Con Mapping
Specifies mapping between objects in the
external view to those in the logical model
© Virtual University of Pakistan
Con/Int Mapping
Specifies mapping between objects in the
logical model to those in the physical model-
data independence
© Virtual University of Pakistan
3-Level Architecture
External Level
Conceptual Level
Internal Level
Physical Data
Organization
Ext/Con Mapping
View 1 View 2 View n
Conceptual
Schema
Internal
Schema
Database
User 1 User 2 User n
Con/Int Mapping
© Virtual University of Pakistan
Name DoB Deps DepId
Rana Aslam 12/09/70 5 D001
Marya Wasti 29/02/80 0 D005
First Name: Rana
Last Name: Aslam
Date of Birth:
12 Sep, 1970
Name: R. Aslam
Age: 24y,10d
Dept: Sales
Saleem
Saleema
01110011010011100101001010100101010010101…..
BH RH Rana Aslam 120970 5 D001 RH Marya Wasti…
© Virtual University of Pakistan
Data
Independence
© Virtual University of Pakistan
Data Independence
A major outcome of 3-L Arch
The immunity of applications to change in
storage structure and access strategy
© Virtual University of Pakistan
Changes in lower level do not affect the
upper levels
Don’t take it word to word
Mind the direction please
Data Independence
© Virtual University of Pakistan
Data Independence
Types
• Logical Data Independence
• Physical Data Independence
© Virtual University of Pakistan
Logical Data
Independence
Changes in conceptual model do not affect the
external views
Immunity of external level from changes at
conceptual level
© Virtual University of Pakistan
Types of Changes
Adding a new file/index etc.
Adding a new field in a file
Changing type/size
Deleting an attribute
© Virtual University of Pakistan
Physical Data
Independence
 Changes in the internal model do not affect the
conceptual model
 Immunity of Conceptual level from changes at
Internal level
© Virtual University of Pakistan
Changes Examples
Changing file organization
Index implementation, hash, tree etc.
Changing storage medium
© Virtual University of Pakistan
3-Level Architecture
External Level
Conceptual Level
Internal Level
Physical Data
Organization
Ext/Con Mapping
View 1 View n
Conceptual
Schema
Internal
Schema
Database
User 1 User n
Con/Int Mapping
Conceptual Data Ind
Physical
Data Ind
© Virtual University of Pakistan
Functions of DBMS
 Data Processing
 A User Accessible Catalog
 Transaction Support
 Concurrency Control Services
© Virtual University of Pakistan
Functions of DBMS
 Recovery Services
 Authorization Services
 Support for Data Communication
 Integrity Services
© Virtual University of Pakistan
DBMS Environments
Single User
Multi-user
Teleprocessing
File Servers
Client-Server
© Virtual University of Pakistan
Teleprocessing
All processing at
a central computer
Dumb Terminals
© Virtual University of Pakistan
File Servers
LAN
File returned Data request
Database
Workstation Workstation
File Server
© Virtual University of Pakistan
Client-Server
LAN
Selected data returned Data request
Database
Client Client
Server
(with DBMS)
© Virtual University of Pakistan
Today’s Summary
Completed 3-L architecture
Discussed data independence
Discussion on DBMS
© Virtual University of Pakistan
Thanks and
Allah Hafiz
© Virtual University of Pakistan
Database
Management
Systems
Lecture - 4

More Related Content

What's hot (20)

PDF
DATABASE MANAGEMENT SYSTEM
Acharya Institute of Graduate Studies
 
PPTX
Microsoft Office 2016
Deana Strain
 
PDF
Distributed DBMS - Unit 1 - Introduction
Gyanmanjari Institute Of Technology
 
PPTX
Modelo Entidad Relacion
alejandra2377
 
PPTX
Database Administration
Bilal Arshad
 
PPTX
Database systems
NazmulHossen5
 
PDF
Base de Datos(Funciones, Vistas,Procedimientos Almacenados,Triggers)
Universidad Nacional de Piura
 
PDF
Guia 1 conexion a base de datos sql server
Mayito CH
 
PPTX
Database systems - Chapter 2
shahab3
 
PPTX
Introduction to Data Structures and their importance
Bulbul Agrawal
 
PPTX
Chapter 8 operating systems and utility programs
haider ali
 
PPTX
Chapter-1 Introduction to Database Management Systems
Kunal Anand
 
PDF
Enunciados de casos para Bases de Datos
Facultad de Ciencias y Sistemas
 
PPTX
Database user and administrator.pptx
Anusha sivakumar
 
PPTX
Ejercicio no 9
Rodrigo Quintero Valdez
 
PPTX
Data dictionary
Shaikh Uves
 
PDF
Unidad 2 diseño orientado a objetos
Rene Guaman-Quinche
 
PDF
Introduction to Database
Syed Zaid Irshad
 
PPTX
Unidad 3 Fundamentos de bases de datos
LUIS ANTOINO SANCHEZ REYNOSO
 
PPT
Herramientas De Modelado
msc080277
 
DATABASE MANAGEMENT SYSTEM
Acharya Institute of Graduate Studies
 
Microsoft Office 2016
Deana Strain
 
Distributed DBMS - Unit 1 - Introduction
Gyanmanjari Institute Of Technology
 
Modelo Entidad Relacion
alejandra2377
 
Database Administration
Bilal Arshad
 
Database systems
NazmulHossen5
 
Base de Datos(Funciones, Vistas,Procedimientos Almacenados,Triggers)
Universidad Nacional de Piura
 
Guia 1 conexion a base de datos sql server
Mayito CH
 
Database systems - Chapter 2
shahab3
 
Introduction to Data Structures and their importance
Bulbul Agrawal
 
Chapter 8 operating systems and utility programs
haider ali
 
Chapter-1 Introduction to Database Management Systems
Kunal Anand
 
Enunciados de casos para Bases de Datos
Facultad de Ciencias y Sistemas
 
Database user and administrator.pptx
Anusha sivakumar
 
Ejercicio no 9
Rodrigo Quintero Valdez
 
Data dictionary
Shaikh Uves
 
Unidad 2 diseño orientado a objetos
Rene Guaman-Quinche
 
Introduction to Database
Syed Zaid Irshad
 
Unidad 3 Fundamentos de bases de datos
LUIS ANTOINO SANCHEZ REYNOSO
 
Herramientas De Modelado
msc080277
 

Similar to Database management systems cs403 power point slides lecture 04 (20)

PPT
Three schema Architecture in DBMS
Saqlain84
 
PPT
Chapter 2 database architecture
Ura Euro
 
PPT
Lecture 4 Database management system.ppt
sheharbanocs
 
PPTX
Unit 1.2.pptx
ssuser0793931
 
PPTX
Computer lecture (1) m.nasir
Muhammad Nasir
 
PPTX
Dbms architecture
Shubham Dwivedi
 
PPT
Database concepts and Archeticture Ch2 with in class Activities
Zainab Almugbel
 
PPTX
Chapter 2 DBMS
Shahzad Zaman
 
PPT
Database Management Systems.ppt
tahakhan699813
 
PPTX
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
thivakarana06
 
PPT
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
PDF
2 database system concepts and architecture
Kumar
 
PPT
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
PPTX
database management system
Vivek Kumar
 
PPTX
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
PPTX
dbms unit-1
Vivek Kumar
 
PPTX
Architecture of dbms
Somesh Gulati
 
PPTX
Module 1 - Chapter 2.pptx
SoniaDevi15
 
PPTX
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
PDF
Week-1-HandOut-M1-Intro.pdfgrerergreggrgege
NetajiGandi1
 
Three schema Architecture in DBMS
Saqlain84
 
Chapter 2 database architecture
Ura Euro
 
Lecture 4 Database management system.ppt
sheharbanocs
 
Unit 1.2.pptx
ssuser0793931
 
Computer lecture (1) m.nasir
Muhammad Nasir
 
Dbms architecture
Shubham Dwivedi
 
Database concepts and Archeticture Ch2 with in class Activities
Zainab Almugbel
 
Chapter 2 DBMS
Shahzad Zaman
 
Database Management Systems.ppt
tahakhan699813
 
DBMS DATA MANAGEMENT SYSTEM ppt Cs403 rtc
thivakarana06
 
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
2 database system concepts and architecture
Kumar
 
Chap gshsiiajsbbJAIOAJB68292uhsbiw8622.ppt
SagniTolasa
 
database management system
Vivek Kumar
 
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
dbms unit-1
Vivek Kumar
 
Architecture of dbms
Somesh Gulati
 
Module 1 - Chapter 2.pptx
SoniaDevi15
 
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
Week-1-HandOut-M1-Intro.pdfgrerergreggrgege
NetajiGandi1
 
Ad

Recently uploaded (20)

PDF
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PDF
Council of Chalcedon Re-Examined
Smiling Lungs
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PDF
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
Council of Chalcedon Re-Examined
Smiling Lungs
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Governor Josh Stein letter to NC delegation of U.S. House
Mebane Rash
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
Horarios de distribución de agua en julio
pegazohn1978
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Ad

Database management systems cs403 power point slides lecture 04

  • 1. © Virtual University of Pakistan Database Management Systems Lecture - 4
  • 2. © Virtual University of Pakistan Today’s Review Continue 3-L architecture Data Independence Different aspect of DBMS
  • 3. © Virtual University of Pakistan Level 3 Internal or Physical View Concerns about the physical implementation of the database
  • 4. © Virtual University of Pakistan Internal View DBMS chooses type of data structures lays out data on storage devices with operating system access methods
  • 5. © Virtual University of Pakistan Internal View Internal record: a single stored record Does not just contain what we see at the conceptual level DBMS adds other data
  • 6. © Virtual University of Pakistan Physical Level Generally same as Internal Actual representation of data on the storage device In the binary format OS responsibility
  • 7. © Virtual University of Pakistan Inter-Schema Mappings Also a part of 3-level architecture External/conceptual mapping Conceptual/Internal
  • 8. © Virtual University of Pakistan Ext/Con Mapping Specifies mapping between objects in the external view to those in the logical model
  • 9. © Virtual University of Pakistan Con/Int Mapping Specifies mapping between objects in the logical model to those in the physical model- data independence
  • 10. © Virtual University of Pakistan 3-Level Architecture External Level Conceptual Level Internal Level Physical Data Organization Ext/Con Mapping View 1 View 2 View n Conceptual Schema Internal Schema Database User 1 User 2 User n Con/Int Mapping
  • 11. © Virtual University of Pakistan Name DoB Deps DepId Rana Aslam 12/09/70 5 D001 Marya Wasti 29/02/80 0 D005 First Name: Rana Last Name: Aslam Date of Birth: 12 Sep, 1970 Name: R. Aslam Age: 24y,10d Dept: Sales Saleem Saleema 01110011010011100101001010100101010010101….. BH RH Rana Aslam 120970 5 D001 RH Marya Wasti…
  • 12. © Virtual University of Pakistan Data Independence
  • 13. © Virtual University of Pakistan Data Independence A major outcome of 3-L Arch The immunity of applications to change in storage structure and access strategy
  • 14. © Virtual University of Pakistan Changes in lower level do not affect the upper levels Don’t take it word to word Mind the direction please Data Independence
  • 15. © Virtual University of Pakistan Data Independence Types • Logical Data Independence • Physical Data Independence
  • 16. © Virtual University of Pakistan Logical Data Independence Changes in conceptual model do not affect the external views Immunity of external level from changes at conceptual level
  • 17. © Virtual University of Pakistan Types of Changes Adding a new file/index etc. Adding a new field in a file Changing type/size Deleting an attribute
  • 18. © Virtual University of Pakistan Physical Data Independence  Changes in the internal model do not affect the conceptual model  Immunity of Conceptual level from changes at Internal level
  • 19. © Virtual University of Pakistan Changes Examples Changing file organization Index implementation, hash, tree etc. Changing storage medium
  • 20. © Virtual University of Pakistan 3-Level Architecture External Level Conceptual Level Internal Level Physical Data Organization Ext/Con Mapping View 1 View n Conceptual Schema Internal Schema Database User 1 User n Con/Int Mapping Conceptual Data Ind Physical Data Ind
  • 21. © Virtual University of Pakistan Functions of DBMS  Data Processing  A User Accessible Catalog  Transaction Support  Concurrency Control Services
  • 22. © Virtual University of Pakistan Functions of DBMS  Recovery Services  Authorization Services  Support for Data Communication  Integrity Services
  • 23. © Virtual University of Pakistan DBMS Environments Single User Multi-user Teleprocessing File Servers Client-Server
  • 24. © Virtual University of Pakistan Teleprocessing All processing at a central computer Dumb Terminals
  • 25. © Virtual University of Pakistan File Servers LAN File returned Data request Database Workstation Workstation File Server
  • 26. © Virtual University of Pakistan Client-Server LAN Selected data returned Data request Database Client Client Server (with DBMS)
  • 27. © Virtual University of Pakistan Today’s Summary Completed 3-L architecture Discussed data independence Discussion on DBMS
  • 28. © Virtual University of Pakistan Thanks and Allah Hafiz
  • 29. © Virtual University of Pakistan Database Management Systems Lecture - 4