SlideShare a Scribd company logo
3
Most read
4
Most read
6
Most read
Dr. Amiya Ranjan Panda
Assistant Professor [II]
School of Computer Engineering,
Kalinga Institute of Industrial Technology (KIIT),
Deemed to be University,Odisha
Database Management Systems (CS 2004)
KALINGA INSTITUTE OF INDUSTRIAL
TECHNOLOGY
School Of Computer
Engineering
4 Credit Lecture Note 03
Chapter Contents
q 3-Level Abstraction of Database
q Mapping and Data Independence
q Database Users
2
q The goal of the ANSI/SPARC 3-level abstraction is to separate the user
applications and the physical database. It deals with the data, the relationship
between them and the different access methods implemented on the database.
The logical design of a database is called a schema.
3
3-Level Abstraction of Database
ü External/View Level: The external level includes a number of external
schemas or user views. Each external schema or user view describes the
part of the database that a particular user group is interested in and hides the
details of the database from that user group.
ü Conceptual Level: The conceptual level has a conceptual schema, which
describes the structure of the whole database for a community of users. The
conceptual schema hides the details of physical storage structures and
concentrates on describing entities, data types, relationships and constraints.
It represents global view of the entire database. Thus; for a database, there
is only one conceptual schema available.
ü Internal Level: The internal level has an internal schema, which describes
the physical storage structure of the database system. Like conceptual
schema, there is only one internal schema available for a database. It is the
one which is closest to physical storage. The internal schema not only
defines the various stored record types, but also specifies what indices exist,
how stored fields are represented.
4
3-Level Abstraction of Database...
q In a database system based on the 3-level architecture, each user group
refers only to its own external schema. The process of transforming
requests and results between different levels are called mapping.
ü Conceptual/Internal Mapping: It defines the correspondence between the
conceptual view and the stored database. Physical Data Independence
indicates that the internal schema can be changed without any change to the
conceptual schema.
ü External/Conceptual Mapping: It defines the correspondence between a
particular external view and the conceptual view. Logical Data
Independence indicates that the conceptual schema can be changed
without affecting the existing external schemas.
5
5
Mapping and Data Independence
ü Naive Users: They are the normal or unsophisticated users who interact
with the system by invoking application programs that have been written
previously. The typical user interface for naive users is a form interface,
where the user can fill in appropriate fields of the form.
ü Application Programmers: They are computer professionals who write
application programs to access data from the database. Application
programmers can use different tools to develop user interfaces.
ü Sophisticated Users: They interact with the system without creating any
application program. Rather, they form their requests in a database query
language and submit each such query to a query processor. Analysts who
submit queries to explore data in the database fall in this category.
ü Specialized Users: They are sophisticated users who write specialized
database applications that don’t fit into the traditional data processing
framework.
ü Database Administrator (DBA): The person who has central control of
the whole database system is called DBA. The DBA coordinates all the
activities of the database system.
6
6
Database Users
q Different database users are:
7
7
Role of Data Base Administrator
ü DBA creates the original database schema by executing a set of DDL
statements.
ü DBA defines and controls the access methods for the different users.
ü DBA carries out changes to the schema and physical organization to reflect
the changing needs of the organization, or to alter the physical organization
to improve performance.
ü By granting different types of authorization, DBA can regulate which parts
of the database various users can access.
ü DBA specifies the different types of constraints to different tables or objects.
ü DBA is responsible for the periodically backing up the database.
ü DBA ensures that enough free disk space is available for normal operations
and upgrading disk space as required.
ü DBA monitors the jobs running on the database and ensures that the
performance is not degraded by very expensive tasks submitted by some
users.
q Role of DBA are:
8

More Related Content

What's hot (20)

PPTX
Database architecture
VENNILAV6
 
PPTX
Architecture of dbms(lecture 3)
Ravinder Kamboj
 
PPT
Databases: Normalisation
Damian T. Gordon
 
PPTX
Database administrator
Tech_MX
 
PPTX
Advantages of DBMS
harshith singh
 
ODP
ER Model in DBMS
Kabindra Koirala
 
PPTX
Database systems - Chapter 2
shahab3
 
PPTX
Normal forms
Samuel Igbanogu
 
PPT
Lecture 01 introduction to database
emailharmeet
 
PPTX
File systems versus a dbms
RituBhargava7
 
PPTX
Database Security And Authentication
Sudeb Das
 
PPTX
Database Design
learnt
 
PPT
Constraints In Sql
Anurag
 
PPT
Basic DBMS ppt
dangwalrajendra888
 
PPT
Data independence
Aashima Wadhwa
 
PPT
Data Base Management System
Dr. C.V. Suresh Babu
 
PPTX
Data Manipulation Language
Jas Singh Bhasin
 
PPT
1 - Introduction to PL/SQL
rehaniltifat
 
PPTX
Adbms 3 main characteristics of the database approach
Vaibhav Khanna
 
PPTX
Paging and segmentation
Piyush Rochwani
 
Database architecture
VENNILAV6
 
Architecture of dbms(lecture 3)
Ravinder Kamboj
 
Databases: Normalisation
Damian T. Gordon
 
Database administrator
Tech_MX
 
Advantages of DBMS
harshith singh
 
ER Model in DBMS
Kabindra Koirala
 
Database systems - Chapter 2
shahab3
 
Normal forms
Samuel Igbanogu
 
Lecture 01 introduction to database
emailharmeet
 
File systems versus a dbms
RituBhargava7
 
Database Security And Authentication
Sudeb Das
 
Database Design
learnt
 
Constraints In Sql
Anurag
 
Basic DBMS ppt
dangwalrajendra888
 
Data independence
Aashima Wadhwa
 
Data Base Management System
Dr. C.V. Suresh Babu
 
Data Manipulation Language
Jas Singh Bhasin
 
1 - Introduction to PL/SQL
rehaniltifat
 
Adbms 3 main characteristics of the database approach
Vaibhav Khanna
 
Paging and segmentation
Piyush Rochwani
 

Similar to Dbms 3: 3 Schema Architecture (20)

PPT
ANSI-SPARC - Star Trek style - v2.0
Damian T. Gordon
 
PPTX
Data Abstraction and Independance (1).pptx
nehasahuji
 
DOC
1.introduction qb
Mohammed Shoaib
 
PPTX
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
PDF
Chapter2databaseenvironment 120307033742-phpapp01
Ankit Dubey
 
PPTX
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
PDF
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
PPT
A N S I S P A R C Architecture
Sabeeh Ahmed
 
PPTX
PPT Lecture 1.3 Database System Administrator.pptx
AbhiGrover10
 
PPT
Database Management Systems.ppt
tahakhan699813
 
PPTX
Introduction to Data Base Management System.pptx
SandeepY10
 
PPT
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
PPTX
Unit 1.2.pptx
ssuser0793931
 
PPTX
Unit 1 dbms
Sweta Singh
 
PPTX
DATABASE MANAGEMENT SYSTEM UNIT 1 - Prof. JISHNU M S
jishnums10
 
PPTX
database management system anna universityUnit1.pptx
SatheeshKumar349161
 
PPT
Data abs ind & mod
Haider Adnan
 
PPTX
DBMS. Advantage of Data base management systems
Dr Shailendra Bhalawe
 
PDF
Database User and Administrator
A. S. M. Shafi
 
ANSI-SPARC - Star Trek style - v2.0
Damian T. Gordon
 
Data Abstraction and Independance (1).pptx
nehasahuji
 
1.introduction qb
Mohammed Shoaib
 
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
Chapter2databaseenvironment 120307033742-phpapp01
Ankit Dubey
 
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
A N S I S P A R C Architecture
Sabeeh Ahmed
 
PPT Lecture 1.3 Database System Administrator.pptx
AbhiGrover10
 
Database Management Systems.ppt
tahakhan699813
 
Introduction to Data Base Management System.pptx
SandeepY10
 
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
Unit 1.2.pptx
ssuser0793931
 
Unit 1 dbms
Sweta Singh
 
DATABASE MANAGEMENT SYSTEM UNIT 1 - Prof. JISHNU M S
jishnums10
 
database management system anna universityUnit1.pptx
SatheeshKumar349161
 
Data abs ind & mod
Haider Adnan
 
DBMS. Advantage of Data base management systems
Dr Shailendra Bhalawe
 
Database User and Administrator
A. S. M. Shafi
 
Ad

More from Amiya9439793168 (11)

PDF
Dbms 14: Relational Calculus
Amiya9439793168
 
PDF
Dbms 13: Query Using Relational Algebra
Amiya9439793168
 
PDF
Dbms 12: Join
Amiya9439793168
 
PDF
Dbms 11: Relational Algebra
Amiya9439793168
 
PDF
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
PDF
Dbms 9: Relational Model
Amiya9439793168
 
PDF
Dbms 8: Enhanced ER Model
Amiya9439793168
 
PDF
Dbms 6: ER Modeling
Amiya9439793168
 
PDF
Dbms 2: Data Model
Amiya9439793168
 
PDF
Introduction to Database Management System
Amiya9439793168
 
PDF
Dbms 7: ER Diagram Design Issue
Amiya9439793168
 
Dbms 14: Relational Calculus
Amiya9439793168
 
Dbms 13: Query Using Relational Algebra
Amiya9439793168
 
Dbms 12: Join
Amiya9439793168
 
Dbms 11: Relational Algebra
Amiya9439793168
 
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
Dbms 9: Relational Model
Amiya9439793168
 
Dbms 8: Enhanced ER Model
Amiya9439793168
 
Dbms 6: ER Modeling
Amiya9439793168
 
Dbms 2: Data Model
Amiya9439793168
 
Introduction to Database Management System
Amiya9439793168
 
Dbms 7: ER Diagram Design Issue
Amiya9439793168
 
Ad

Recently uploaded (20)

PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
Introduction to Design of Machine Elements
PradeepKumarS27
 
PPTX
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PDF
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPTX
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
Introduction to Design of Machine Elements
PradeepKumarS27
 
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
Hashing Introduction , hash functions and techniques
sailajam21
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Book.pdf01_Intro.ppt algorithm for preperation stu used
archu26
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
MRRS Strength and Durability of Concrete
CivilMythili
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Server Side Web Development Unit 1 of Nodejs.pptx
sneha852132
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Element 7. CHEMICAL AND BIOLOGICAL AGENT.pptx
merrandomohandas
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 

Dbms 3: 3 Schema Architecture

  • 1. Dr. Amiya Ranjan Panda Assistant Professor [II] School of Computer Engineering, Kalinga Institute of Industrial Technology (KIIT), Deemed to be University,Odisha Database Management Systems (CS 2004) KALINGA INSTITUTE OF INDUSTRIAL TECHNOLOGY School Of Computer Engineering 4 Credit Lecture Note 03
  • 2. Chapter Contents q 3-Level Abstraction of Database q Mapping and Data Independence q Database Users 2
  • 3. q The goal of the ANSI/SPARC 3-level abstraction is to separate the user applications and the physical database. It deals with the data, the relationship between them and the different access methods implemented on the database. The logical design of a database is called a schema. 3 3-Level Abstraction of Database
  • 4. ü External/View Level: The external level includes a number of external schemas or user views. Each external schema or user view describes the part of the database that a particular user group is interested in and hides the details of the database from that user group. ü Conceptual Level: The conceptual level has a conceptual schema, which describes the structure of the whole database for a community of users. The conceptual schema hides the details of physical storage structures and concentrates on describing entities, data types, relationships and constraints. It represents global view of the entire database. Thus; for a database, there is only one conceptual schema available. ü Internal Level: The internal level has an internal schema, which describes the physical storage structure of the database system. Like conceptual schema, there is only one internal schema available for a database. It is the one which is closest to physical storage. The internal schema not only defines the various stored record types, but also specifies what indices exist, how stored fields are represented. 4 3-Level Abstraction of Database...
  • 5. q In a database system based on the 3-level architecture, each user group refers only to its own external schema. The process of transforming requests and results between different levels are called mapping. ü Conceptual/Internal Mapping: It defines the correspondence between the conceptual view and the stored database. Physical Data Independence indicates that the internal schema can be changed without any change to the conceptual schema. ü External/Conceptual Mapping: It defines the correspondence between a particular external view and the conceptual view. Logical Data Independence indicates that the conceptual schema can be changed without affecting the existing external schemas. 5 5 Mapping and Data Independence
  • 6. ü Naive Users: They are the normal or unsophisticated users who interact with the system by invoking application programs that have been written previously. The typical user interface for naive users is a form interface, where the user can fill in appropriate fields of the form. ü Application Programmers: They are computer professionals who write application programs to access data from the database. Application programmers can use different tools to develop user interfaces. ü Sophisticated Users: They interact with the system without creating any application program. Rather, they form their requests in a database query language and submit each such query to a query processor. Analysts who submit queries to explore data in the database fall in this category. ü Specialized Users: They are sophisticated users who write specialized database applications that don’t fit into the traditional data processing framework. ü Database Administrator (DBA): The person who has central control of the whole database system is called DBA. The DBA coordinates all the activities of the database system. 6 6 Database Users q Different database users are:
  • 7. 7 7 Role of Data Base Administrator ü DBA creates the original database schema by executing a set of DDL statements. ü DBA defines and controls the access methods for the different users. ü DBA carries out changes to the schema and physical organization to reflect the changing needs of the organization, or to alter the physical organization to improve performance. ü By granting different types of authorization, DBA can regulate which parts of the database various users can access. ü DBA specifies the different types of constraints to different tables or objects. ü DBA is responsible for the periodically backing up the database. ü DBA ensures that enough free disk space is available for normal operations and upgrading disk space as required. ü DBA monitors the jobs running on the database and ensures that the performance is not degraded by very expensive tasks submitted by some users. q Role of DBA are:
  • 8. 8