SlideShare a Scribd company logo
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

Er model ppt
Er model pptEr model ppt
Er model ppt
Pihu Goel
 
STRUCTURE OF SQL QUERIES
STRUCTURE OF SQL QUERIESSTRUCTURE OF SQL QUERIES
STRUCTURE OF SQL QUERIES
VENNILAV6
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
RituBhargava7
 
Relational model
Relational modelRelational model
Relational model
Dabbal Singh Mahara
 
Database language
Database languageDatabase language
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
Chirag vasava
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
Shubham Dwivedi
 
Rdbms
RdbmsRdbms
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Codd's rules
Codd's rulesCodd's rules
Codd's rulesMohd Arif
 
Data Models
Data ModelsData Models
Data Models
RituBhargava7
 
Integrity constraints in dbms
Integrity constraints in dbmsIntegrity constraints in dbms
Integrity constraints in dbms
Vignesh Saravanan
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
Chinnu Shimna
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with ExamplesDML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
LGS, GBHS&IC, University Of South-Asia, TARA-Technologies
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
Adeel Rasheed
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
Ajay Jha
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
SHIKHA GAUTAM
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
Smriti Jain
 
Data abstraction in DBMS
Data abstraction in DBMSData abstraction in DBMS
Data abstraction in DBMS
Papan Sarkar
 

What's hot (20)

Er model ppt
Er model pptEr model ppt
Er model ppt
 
STRUCTURE OF SQL QUERIES
STRUCTURE OF SQL QUERIESSTRUCTURE OF SQL QUERIES
STRUCTURE OF SQL QUERIES
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Relational model
Relational modelRelational model
Relational model
 
Database language
Database languageDatabase language
Database language
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Rdbms
RdbmsRdbms
Rdbms
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
Data Models
Data ModelsData Models
Data Models
 
Integrity constraints in dbms
Integrity constraints in dbmsIntegrity constraints in dbms
Integrity constraints in dbms
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with ExamplesDML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
Data abstraction in DBMS
Data abstraction in DBMSData abstraction in DBMS
Data abstraction in DBMS
 

Similar to Dbms 3: 3 Schema Architecture

ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0Damian T. Gordon
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
nehasahuji
 
Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01
Ankit Dubey
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
Database Management system, database architecture unikkkkkkkkkkkkkkkDatabase Management system, database architecture unikkkkkkkkkkkkkkk
Database Management system, database architecture unikkkkkkkkkkkkkkk
sandhyakiran10
 
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
Sabeeh Ahmed
 
PPT Lecture 1.3 Database System Administrator.pptx
PPT Lecture 1.3 Database System Administrator.pptxPPT Lecture 1.3 Database System Administrator.pptx
PPT Lecture 1.3 Database System Administrator.pptx
AbhiGrover10
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
tahakhan699813
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).ppt
ShivareddyGangam
 
Unit 1.2.pptx
Unit 1.2.pptxUnit 1.2.pptx
Unit 1.2.pptx
ssuser0793931
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
Sweta Singh
 
Db lecture 2
Db lecture 2Db lecture 2
Data abs ind & mod
Data abs  ind  & modData abs  ind  & mod
Data abs ind & mod
Haider Adnan
 
Database User and Administrator
Database User and AdministratorDatabase User and Administrator
Database User and Administrator
A. S. M. Shafi
 
lecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdflecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdf
adeel8937
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
shahab3
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
flyinimohamed
 
Database Management System NOTES for 2nd year
Database Management System NOTES for 2nd yearDatabase Management System NOTES for 2nd year
Database Management System NOTES for 2nd year
dhasamalika
 
dbmsnotes the largest number of security
dbmsnotes the largest number of securitydbmsnotes the largest number of security
dbmsnotes the largest number of security
obsinaafilmakuush
 

Similar to Dbms 3: 3 Schema Architecture (20)

ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0ANSI-SPARC - Star Trek style - v2.0
ANSI-SPARC - Star Trek style - v2.0
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 
Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01
 
Database Management system, database architecture unikkkkkkkkkkkkkkk
Database Management system, database architecture unikkkkkkkkkkkkkkkDatabase Management system, database architecture unikkkkkkkkkkkkkkk
Database Management system, database architecture unikkkkkkkkkkkkkkk
 
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
 
PPT Lecture 1.3 Database System Administrator.pptx
PPT Lecture 1.3 Database System Administrator.pptxPPT Lecture 1.3 Database System Administrator.pptx
PPT Lecture 1.3 Database System Administrator.pptx
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
 
ARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).pptARCHITECTURE OF DBMS (1).ppt
ARCHITECTURE OF DBMS (1).ppt
 
Unit 1.2.pptx
Unit 1.2.pptxUnit 1.2.pptx
Unit 1.2.pptx
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
Db lecture 2
Db lecture 2Db lecture 2
Db lecture 2
 
Data abs ind & mod
Data abs  ind  & modData abs  ind  & mod
Data abs ind & mod
 
Database User and Administrator
Database User and AdministratorDatabase User and Administrator
Database User and Administrator
 
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
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
 
Database Management System NOTES for 2nd year
Database Management System NOTES for 2nd yearDatabase Management System NOTES for 2nd year
Database Management System NOTES for 2nd year
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
dbmsnotes the largest number of security
dbmsnotes the largest number of securitydbmsnotes the largest number of security
dbmsnotes the largest number of security
 

More from Amiya9439793168

Dbms 14: Relational Calculus
Dbms 14: Relational CalculusDbms 14: Relational Calculus
Dbms 14: Relational Calculus
Amiya9439793168
 
Dbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational AlgebraDbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational Algebra
Amiya9439793168
 
Dbms 12: Join
Dbms 12: JoinDbms 12: Join
Dbms 12: Join
Amiya9439793168
 
Dbms 11: Relational Algebra
Dbms 11: Relational AlgebraDbms 11: Relational Algebra
Dbms 11: Relational Algebra
Amiya9439793168
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
Dbms 9: Relational Model
Dbms 9: Relational ModelDbms 9: Relational Model
Dbms 9: Relational Model
Amiya9439793168
 
Dbms 8: Enhanced ER Model
Dbms 8: Enhanced ER ModelDbms 8: Enhanced ER Model
Dbms 8: Enhanced ER Model
Amiya9439793168
 
Dbms 6: ER Modeling
Dbms 6: ER ModelingDbms 6: ER Modeling
Dbms 6: ER Modeling
Amiya9439793168
 
Dbms 2: Data Model
Dbms 2: Data ModelDbms 2: Data Model
Dbms 2: Data Model
Amiya9439793168
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Amiya9439793168
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
Amiya9439793168
 

More from Amiya9439793168 (11)

Dbms 14: Relational Calculus
Dbms 14: Relational CalculusDbms 14: Relational Calculus
Dbms 14: Relational Calculus
 
Dbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational AlgebraDbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational Algebra
 
Dbms 12: Join
Dbms 12: JoinDbms 12: Join
Dbms 12: Join
 
Dbms 11: Relational Algebra
Dbms 11: Relational AlgebraDbms 11: Relational Algebra
Dbms 11: Relational Algebra
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
 
Dbms 9: Relational Model
Dbms 9: Relational ModelDbms 9: Relational Model
Dbms 9: Relational Model
 
Dbms 8: Enhanced ER Model
Dbms 8: Enhanced ER ModelDbms 8: Enhanced ER Model
Dbms 8: Enhanced ER Model
 
Dbms 6: ER Modeling
Dbms 6: ER ModelingDbms 6: ER Modeling
Dbms 6: ER Modeling
 
Dbms 2: Data Model
Dbms 2: Data ModelDbms 2: Data Model
Dbms 2: Data Model
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
 

Recently uploaded

Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 

Recently uploaded (20)

Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 

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