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

Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
nethisip13
 
Fundamentals of Database Design
Fundamentals of Database DesignFundamentals of Database Design
Fundamentals of Database Design
Information Technology
 
Fundamental design concepts
Fundamental design conceptsFundamental design concepts
Fundamental design concepts
srijavel
 
Normal forms
Normal formsNormal forms
Normal forms
Samuel Igbanogu
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
Aprajita (Abbey) Singh
 
Relational Algebra,Types of join
Relational Algebra,Types of joinRelational Algebra,Types of join
Relational Algebra,Types of join
raj upadhyay
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
University of Sargodha
 
DFD Slides
DFD SlidesDFD Slides
DFD Slides
Alfred Septio
 
data abstraction in DBMS
data abstraction in DBMSdata abstraction in DBMS
data abstraction in DBMS
BHARATH KUMAR
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
Arun Sharma
 
Fundamental software engineering activities
Fundamental software engineering activitiesFundamental software engineering activities
Fundamental software engineering activities
sommerville-videos
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
sabah N
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)
kunj desai
 
serializability in dbms
serializability in dbmsserializability in dbms
serializability in dbms
Saranya Natarajan
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
RituBhargava7
 
DBMS.pptx
DBMS.pptxDBMS.pptx
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
Niloy Biswas
 
Database management systems cs403 power point slides lecture 03
Database management systems   cs403 power point slides lecture 03Database management systems   cs403 power point slides lecture 03
Database management systems cs403 power point slides lecture 03
Md.Abu Sayed
 
software design
software designsoftware design
software design
PRIYADARSINISK
 
Layered Software Architecture
Layered Software ArchitectureLayered Software Architecture
Layered Software Architecture
Lars-Erik Kindblad
 

What's hot (20)

Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Fundamentals of Database Design
Fundamentals of Database DesignFundamentals of Database Design
Fundamentals of Database Design
 
Fundamental design concepts
Fundamental design conceptsFundamental design concepts
Fundamental design concepts
 
Normal forms
Normal formsNormal forms
Normal forms
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
 
Relational Algebra,Types of join
Relational Algebra,Types of joinRelational Algebra,Types of join
Relational Algebra,Types of join
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
DFD Slides
DFD SlidesDFD Slides
DFD Slides
 
data abstraction in DBMS
data abstraction in DBMSdata abstraction in DBMS
data abstraction in DBMS
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
Fundamental software engineering activities
Fundamental software engineering activitiesFundamental software engineering activities
Fundamental software engineering activities
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)
 
serializability in dbms
serializability in dbmsserializability in dbms
serializability in dbms
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
 
Database management systems cs403 power point slides lecture 03
Database management systems   cs403 power point slides lecture 03Database management systems   cs403 power point slides lecture 03
Database management systems cs403 power point slides lecture 03
 
software design
software designsoftware design
software design
 
Layered Software Architecture
Layered Software ArchitectureLayered Software Architecture
Layered Software Architecture
 

Similar to Database management systems cs403 power point slides lecture 04

Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architecture
Ura Euro
 
Three schema Architecture in DBMS
Three schema Architecture in DBMSThree schema Architecture in DBMS
Three schema Architecture in DBMS
Saqlain84
 
1 introduction
1 introduction1 introduction
1 introduction
Utkarsh De
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
nehasahuji
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
Amiya9439793168
 
Levels Of Abstraction In Database Management System.pptx
Levels Of Abstraction In Database Management System.pptxLevels Of Abstraction In Database Management System.pptx
Levels Of Abstraction In Database Management System.pptx
227r1a0519
 
unit 1.pdf
unit 1.pdfunit 1.pdf
Dams dynamic attendance management system
Dams dynamic attendance management systemDams dynamic attendance management system
Dams dynamic attendance management system
eSAT Journals
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
ndegwajeremiah8842
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
gayaramesh
 
Db lecture 2
Db lecture 2Db lecture 2
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
RAJULKUMARSUTHAR
 
Database management systems
Database management systemsDatabase management systems
Database management systems
Mohammed El Hedhly
 
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docxJournal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
LaticiaGrissomzz
 
Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...
mayurjagdale4
 
Alumni Management System – Web Application
Alumni Management System – Web ApplicationAlumni Management System – Web Application
Alumni Management System – Web Application
IRJET Journal
 
Alumni Management System -Web Application
Alumni Management System -Web ApplicationAlumni Management System -Web Application
Alumni Management System -Web Application
Mandy Brown
 
IMPORTANT QUESTIONS OF Data Base Management System MGU
IMPORTANT QUESTIONS OF Data Base Management System MGUIMPORTANT QUESTIONS OF Data Base Management System MGU
IMPORTANT QUESTIONS OF Data Base Management System MGU
aljufmuhammad
 
data base
data basedata base
data base
Surya Swaroop
 
Computer lecture (1) m.nasir
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasir
Muhammad Nasir
 

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

Chapter 2 database architecture
Chapter 2 database architectureChapter 2 database architecture
Chapter 2 database architecture
 
Three schema Architecture in DBMS
Three schema Architecture in DBMSThree schema Architecture in DBMS
Three schema Architecture in DBMS
 
1 introduction
1 introduction1 introduction
1 introduction
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
 
Levels Of Abstraction In Database Management System.pptx
Levels Of Abstraction In Database Management System.pptxLevels Of Abstraction In Database Management System.pptx
Levels Of Abstraction In Database Management System.pptx
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Dams dynamic attendance management system
Dams dynamic attendance management systemDams dynamic attendance management system
Dams dynamic attendance management system
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
Db lecture 2
Db lecture 2Db lecture 2
Db lecture 2
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docxJournal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
Journal of Physics Conference SeriesPAPER • OPEN ACCESS.docx
 
Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...
 
Alumni Management System – Web Application
Alumni Management System – Web ApplicationAlumni Management System – Web Application
Alumni Management System – Web Application
 
Alumni Management System -Web Application
Alumni Management System -Web ApplicationAlumni Management System -Web Application
Alumni Management System -Web Application
 
IMPORTANT QUESTIONS OF Data Base Management System MGU
IMPORTANT QUESTIONS OF Data Base Management System MGUIMPORTANT QUESTIONS OF Data Base Management System MGU
IMPORTANT QUESTIONS OF Data Base Management System MGU
 
data base
data basedata base
data base
 
Computer lecture (1) m.nasir
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasir
 

Recently uploaded

Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 

Recently uploaded (20)

Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 

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