SlideShare a Scribd company logo
1 of 19
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
OBJECTIVES
At the completion of this Chapter , students should be
able to do the following:
• Understand DBMS Architecture
• Appreciate the evolution of ANSI SPARC (3 level
architecture)
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Introduction
ANSI
American National Standards Institute
SPARC
Standards Planning And Requirements Committee
• It is an abstract design standard for a Database Management
System (DBMS), first proposed in 1975.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Three-level architecture
• External level
• Conceptual level
• Internal level
• The Three Level Architecture has the aim of enabling users to
access the same data but with a personalized view of it. The
distancing of the internal level from the external level means that
users do not need to know how the data is physically stored in
the database. This level separation also allows the Database
Administrator (DBA) to change the database storage structures
without affecting the users' views.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Three-level architecture
• External Level (User Views): A user's view of the database describes
a part of the database that is relevant to a particular user. It excludes
irrelevant data as well as data which the user is not authorized to
access.
• Conceptual Level: The conceptual level is a way of describing
what data is stored within the whole database and how the data is
inter-related. The conceptual level does not specify how the data is
physically stored.
• Internal Level: The internal level involves how the database is
physically represented on the computer system. It describes how
the data is actually stored in the database and on the computer
hardware.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Objective of the three-level
architecture
• It allows independent customized user views: Each user should be
able to access the same data, but have a different customized view
of the data. These should be independent: changes to one view
should not affect others.
• It hides the physical storage details from users: Users should
not have to deal with physical database storage details.
• The database administrator should be able to change the
database storage structures without affecting the users’ views.
• The internal structure of the database should be unaffected by
changes to the physical aspects of the storage: For example, a
changeover to a new disk.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Database schemas
There are three different types of schema corresponding to the three
levels in the ANSI-SPARC architecture.
Schema is the structure of the database that defines the objects in the
database
• The external schemas describe the different external views
of the data and there may be many external schemas for a
given database.
• The conceptual schema describes all the data items and
relationships between them, together with integrity constraints
(later). There is only one conceptual schema per database.
• The internal schema at the lowest level contains definitions
of the stored records, the methods of representation, the
data fields, and indexes. There is only one internal schema
per database.
Department of Computer Science and Engineering
(CSE)
The
way
users
perceiv
e the
data.
University Institute of Engineering (UIE)
The way the
DBMS and OS
perceive the
data.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Mapping between views
• Three view-levels are described by means of three schemas.
• These schemas are stored in the data dictionary.
• In DBMS, each user refers only to its own external schema.
• Hence, the DBMS must transform a request on. a specified
external schema into a request against conceptual schema,
and then into a request against internal schema to store and
retrieve data to and from the database.
• The process to convert a request (from external level) and the
result between view levels is called mapping.
• The mapping defines the correspondence between three view
levels.
• The mapping description is also stored in data dictionary.
• The DBMS is responsible for mapping between these three
types of schemas.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Mapping between views
There are two types of mapping.
(i) External-Conceptual mapping
• An external-conceptual mapping defines the correspondence between a
particular
external view and the conceptual view.
• The external-conceptual mapping tells the DBMS which objects on the
conceptual level correspond to the objects requested on a particular user's
external view.
• If changes are made to either an external view or conceptual view, then
mapping must be changed accordingly.
(ii) Conceptual-Internal mapping
• The conceptual-internal mapping defines the correspondence between the
conceptual view and the internal view, i.e. database stored on the physical
storage device.
• It describes how conceptual records are stored and retrieved to and
from the storage device.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Example
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Data Independence
• The ability to modify a scheme definition in one level without
affecting a scheme definition in a higher level is called data
independence.
There are two kinds:
• Logical data independence
• Physical data independence
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Data Independence
Logical data independence
• The ability to modify the conceptual scheme without causing
application programs to be rewritten.
• Immunity of external schemas to changes in the conceptual schema.
• The change would be absorbed by mapping
between external and conceptual levels.
Physical data independence
• The ability to modify the internal scheme or physical storage
structures and devices without affecting conceptual or external
schemas .
• Modifications at this level are usually to improve performance.
Logical data independence is difficult to achieve than
physical data independence.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Database Administrator (DBA)
• A database administrator (DBA) is an IT professional responsible for
the installation, configuration, upgrading, administration, monitoring,
maintenance, and security of databases in an organization.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Responsibilities of DBA
Makes decisions concerning the content of the database.
✔ Identify the entities of interest to the enterprise
and to identify
information to be recorded about those entities
Plans storage structures and access strategies.
✔ How the data is to be represented in the database.
✔ Specify the representation by writing the storage structure definition
(using the internal data definition language).
✔ The associated mapping between the storage structure definition and the
conceptual schema must also be specified.
Provides support to users.
✔ Ensure that the data users require is available,
and to write the necessary external schemas.
✔ The mapping between any given eA1ernal schema and the conceptual'
schema must also be specified.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Responsibilities of DBA
Defines security and integrity checks.
✔ Providing the authorization and authentication checks such
that no
malicious users can access database and it must remain protected.
✔ DBA must also ensure the integrity of the database.
Interprets backup and recovery strategies.
✔ Define and implement an appropriate recovery
strategy to recover he
database from all types of failures.
Monitoring performance and responding to changes in
requirements.
✔ DBA is responsible for so organizing the system as to get the
performance that is "best for the enterprise," and for making the
appropriate adjustments as requirements change.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
Outcomes
• Analyze an information storage problem and derive an
information model expressed in the form of an entity
relation diagram and other optional analysis forms,
such as a data dictionary.
• Demonstrate an understanding of the relational data
model.
• Appreciate the roles & responsibilities of DBA.
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)
References
• Database System Concepts by Abraham
Silberschatz
• Database System Concepts by
Sudarshan, Korth Education)
(McGraw-
Hill
• Fundamentals of Database SystemBy Elmasari
&Navathe- Pearson Education
• http://ecomputernotes.com/database-system/rdbms
• https://www.tutorialspoint.com/sql/sql-rdbms-concepts.htm
• https://www.studytonight.com/dbms/rdbms-concept
Department of Computer Science and Engineering (CSE)
University Institute of Engineering (UIE)

More Related Content

Similar to PPT Lecture 1.3 Database System Administrator.pptx

Slide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaSlide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaVisakh V
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptxdhanajimirajkar1
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxSoniaDevi15
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2Mukund Trivedi
 
Lecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptxLecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptxHarshitSharma875238
 
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMDatabase Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMmoronfolabukunmi
 
Database Management System Course Material
Database Management System Course MaterialDatabase Management System Course Material
Database Management System Course MaterialDEEPIKAP92
 
2nd chapter dbms.pptx
2nd chapter dbms.pptx2nd chapter dbms.pptx
2nd chapter dbms.pptxkavitha623544
 
lecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdflecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdfadeel8937
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2shahab3
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptShivareddyGangam
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C ArchitectureSabeeh Ahmed
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)KavithaA19
 

Similar to PPT Lecture 1.3 Database System Administrator.pptx (20)

Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Slide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schemaSlide 3 data abstraction & 3 schema
Slide 3 data abstraction & 3 schema
 
Db lecture 2
Db lecture 2Db lecture 2
Db lecture 2
 
Data independence
Data independenceData independence
Data independence
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Lecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptxLecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptx
 
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMDatabase Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
 
Database Management System Course Material
Database Management System Course MaterialDatabase Management System Course Material
Database Management System Course Material
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
2nd chapter dbms.pptx
2nd chapter dbms.pptx2nd chapter dbms.pptx
2nd chapter dbms.pptx
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
Presentation 5 (4).pdf
Presentation 5 (4).pdfPresentation 5 (4).pdf
Presentation 5 (4).pdf
 
lecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdflecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdf
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).ppt
 
A N S I S P A R C Architecture
A N S I  S P A R C  ArchitectureA N S I  S P A R C  Architecture
A N S I S P A R C Architecture
 
Database management system (part 1)
Database management system (part 1)Database management system (part 1)
Database management system (part 1)
 

Recently uploaded

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 

Recently uploaded (20)

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 

PPT Lecture 1.3 Database System Administrator.pptx

  • 1. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) OBJECTIVES At the completion of this Chapter , students should be able to do the following: • Understand DBMS Architecture • Appreciate the evolution of ANSI SPARC (3 level architecture)
  • 2. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Introduction ANSI American National Standards Institute SPARC Standards Planning And Requirements Committee • It is an abstract design standard for a Database Management System (DBMS), first proposed in 1975.
  • 3. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE)
  • 4. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Three-level architecture • External level • Conceptual level • Internal level • The Three Level Architecture has the aim of enabling users to access the same data but with a personalized view of it. The distancing of the internal level from the external level means that users do not need to know how the data is physically stored in the database. This level separation also allows the Database Administrator (DBA) to change the database storage structures without affecting the users' views.
  • 5. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Three-level architecture • External Level (User Views): A user's view of the database describes a part of the database that is relevant to a particular user. It excludes irrelevant data as well as data which the user is not authorized to access. • Conceptual Level: The conceptual level is a way of describing what data is stored within the whole database and how the data is inter-related. The conceptual level does not specify how the data is physically stored. • Internal Level: The internal level involves how the database is physically represented on the computer system. It describes how the data is actually stored in the database and on the computer hardware.
  • 6. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Objective of the three-level architecture • It allows independent customized user views: Each user should be able to access the same data, but have a different customized view of the data. These should be independent: changes to one view should not affect others. • It hides the physical storage details from users: Users should not have to deal with physical database storage details. • The database administrator should be able to change the database storage structures without affecting the users’ views. • The internal structure of the database should be unaffected by changes to the physical aspects of the storage: For example, a changeover to a new disk.
  • 7. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Database schemas There are three different types of schema corresponding to the three levels in the ANSI-SPARC architecture. Schema is the structure of the database that defines the objects in the database • The external schemas describe the different external views of the data and there may be many external schemas for a given database. • The conceptual schema describes all the data items and relationships between them, together with integrity constraints (later). There is only one conceptual schema per database. • The internal schema at the lowest level contains definitions of the stored records, the methods of representation, the data fields, and indexes. There is only one internal schema per database.
  • 8. Department of Computer Science and Engineering (CSE) The way users perceiv e the data. University Institute of Engineering (UIE) The way the DBMS and OS perceive the data.
  • 9. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Mapping between views • Three view-levels are described by means of three schemas. • These schemas are stored in the data dictionary. • In DBMS, each user refers only to its own external schema. • Hence, the DBMS must transform a request on. a specified external schema into a request against conceptual schema, and then into a request against internal schema to store and retrieve data to and from the database. • The process to convert a request (from external level) and the result between view levels is called mapping. • The mapping defines the correspondence between three view levels. • The mapping description is also stored in data dictionary. • The DBMS is responsible for mapping between these three types of schemas.
  • 10. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Mapping between views There are two types of mapping. (i) External-Conceptual mapping • An external-conceptual mapping defines the correspondence between a particular external view and the conceptual view. • The external-conceptual mapping tells the DBMS which objects on the conceptual level correspond to the objects requested on a particular user's external view. • If changes are made to either an external view or conceptual view, then mapping must be changed accordingly. (ii) Conceptual-Internal mapping • The conceptual-internal mapping defines the correspondence between the conceptual view and the internal view, i.e. database stored on the physical storage device. • It describes how conceptual records are stored and retrieved to and from the storage device.
  • 11. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Example
  • 12. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Data Independence • The ability to modify a scheme definition in one level without affecting a scheme definition in a higher level is called data independence. There are two kinds: • Logical data independence • Physical data independence
  • 13. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Data Independence Logical data independence • The ability to modify the conceptual scheme without causing application programs to be rewritten. • Immunity of external schemas to changes in the conceptual schema. • The change would be absorbed by mapping between external and conceptual levels. Physical data independence • The ability to modify the internal scheme or physical storage structures and devices without affecting conceptual or external schemas . • Modifications at this level are usually to improve performance. Logical data independence is difficult to achieve than physical data independence.
  • 14. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Database Administrator (DBA) • A database administrator (DBA) is an IT professional responsible for the installation, configuration, upgrading, administration, monitoring, maintenance, and security of databases in an organization.
  • 15. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Responsibilities of DBA Makes decisions concerning the content of the database. ✔ Identify the entities of interest to the enterprise and to identify information to be recorded about those entities Plans storage structures and access strategies. ✔ How the data is to be represented in the database. ✔ Specify the representation by writing the storage structure definition (using the internal data definition language). ✔ The associated mapping between the storage structure definition and the conceptual schema must also be specified. Provides support to users. ✔ Ensure that the data users require is available, and to write the necessary external schemas. ✔ The mapping between any given eA1ernal schema and the conceptual' schema must also be specified.
  • 16. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Responsibilities of DBA Defines security and integrity checks. ✔ Providing the authorization and authentication checks such that no malicious users can access database and it must remain protected. ✔ DBA must also ensure the integrity of the database. Interprets backup and recovery strategies. ✔ Define and implement an appropriate recovery strategy to recover he database from all types of failures. Monitoring performance and responding to changes in requirements. ✔ DBA is responsible for so organizing the system as to get the performance that is "best for the enterprise," and for making the appropriate adjustments as requirements change.
  • 17. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) Outcomes • Analyze an information storage problem and derive an information model expressed in the form of an entity relation diagram and other optional analysis forms, such as a data dictionary. • Demonstrate an understanding of the relational data model. • Appreciate the roles & responsibilities of DBA.
  • 18. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE) References • Database System Concepts by Abraham Silberschatz • Database System Concepts by Sudarshan, Korth Education) (McGraw- Hill • Fundamentals of Database SystemBy Elmasari &Navathe- Pearson Education • http://ecomputernotes.com/database-system/rdbms • https://www.tutorialspoint.com/sql/sql-rdbms-concepts.htm • https://www.studytonight.com/dbms/rdbms-concept
  • 19. Department of Computer Science and Engineering (CSE) University Institute of Engineering (UIE)