SlideShare a Scribd company logo
5
Most read
6
Most read
10
Most read
Database Management Systems
Data Abstraction/
Three Schema Architecture/
Three Level architecture
by
GOWRU BHARATH KUMAR
M.Tech, (Ph.D)
Assistant Professor
You are My creator, But I am Your Master
Scenario
Have you ever wondered how the same website has different views for
different users?
For example, a college website has a different view for student, faculty and the
dean. A student will see the details of his/her attendance, homework, etc. While a
faculty will see his/her class time-table and all information that is related to a
faculty. We see only that much amount of data which is necessary and other
data is hidden from us. So, what is this phenomenon called? Yes, you got it
right. This phenomenon is called data abstraction. In this, we will learn about
data abstraction and we will also see the three levels of abstraction in DBMS.
So, let's get started.
Data Abstraction
• The process of hiding irrelevant details from user is called Data abstraction.
So, what is the meaning of irrelevant details? Let's understand this with one example.
Example: If we want to access any mail from our Gmail then we don't know where that
data is physically stored i.e is the data present in India or USA or what data model has
been used to store that data? We are not concerned about these things. We are only
concerned with our email. So, information like these i.e. location of data and data
models are irrelevant to us and in data abstraction, we do this only. Apart from the
location of data and data models, there are other factors that we don't care of. We hide
the unnecessary data from the user and this process of hiding unwanted data is called
Data Abstraction.
Data Abstraction Cont…
• There are mainly three levels of data abstraction and we divide it into three
levels in order to achieve Data Independence.
• Data Independence means users and data should not directly interact with
each other. The user should be at a different level and the data should be
present at some other level. By doing so, Data Independence can be
achieved. So, let's see in details what are these three levels of data
abstraction:
1. View/ External Level
2. Conceptual/ Logical Level
3. Physical/ Internal Level
data abstraction in DBMS
View Level
• This level tells the application about how the data should be shown to the
user.
• view level describes the actual view of data that is relevant to the particular
user.
• This level also provides different views of the same database for a specific
user or a group of users.
• Any given database has exactly one conceptual schema and one physical
schema because it has just one set of stored relations, but it may have
several external schemas.
• Each external schema consists of a collection of one or more views and
relations from the conceptual schema.
• A view is conceptually a relation, but the records in a view are not stored in
the DBMS. Rather, they are computed using a definition for the view, in
terms of relations stored in the DBMS.
View Level Cont…
Example: If we have a login-id and password in a university system, then as a
student, we can view our marks, attendance, fee structure, etc. But the faculty
of the university will have a different view. He will have options like salary,
edit marks of a student, enter attendance of the students, etc. So, both the
student and the faculty have a different view. By doing so, the security of the
system also increases. In this example, the student can't edit his marks but the
faculty who is authorized to edit the marks can edit the student's marks.
Similarly, the dean of the college or university will have some more
authorization and accordingly, he will has his view. So, different users will
have a different view according to the authorization they have.
Conceptual Level
• This level tells how the data is actually stored and structured. We have
different data models by which we can store the data.
• The conceptual schema describes the structure of the whole database.
• The conceptual level describes what data are to be stored in the database
and also describes what relationship exists among those data.
• In the conceptual level, internal details such as an implementation of the
data structure are hidden.
• Programmers and database administrators work at this level.
Conceptual Level Cont…
Example: Let us take an example where we use the relational model for
storing the data. We have to store the data of a student, the columns in the
student table will be student_name, age, mail_id, roll_no etc. We have to
define all these at this level while we are creating the database. Though the
data is stored in the database but the structure of the tables like the student
table, teacher table, books table, etc are defined here in the conceptual level.
Also, how the tables are related to each other are defined here. Overall, we can
say that we are creating a blueprint of the data at the conceptual level.
Physical Level
• The Physical level tells us that where the data is actually stored i.e. it tells
the actual location of the data that is being stored by the user.
• The Database Administrators(DBA) decide that which data should be
kept at which particular disk drive, how the data has to be fragmented,
where it has to be stored etc. They decide if the data has to be centralized or
distributed. Though we see the data in the form of tables at view level the
data here is actually stored in the form of files only. It totally depends on
the DBA, how he/she manages the database at the physical level.
• The Data Abstraction provides us with a different view and help in
achieving Data Independence.
data abstraction in DBMS

More Related Content

PPS
Architecture of-dbms-and-data-independence
PDF
Lesson 1: Introduction to DBMS
PPT
Chapter 2 database environment
PPT
Database Chapter 2
PDF
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
PPTX
PPTX
PPT
Introduction & history of dbms
Architecture of-dbms-and-data-independence
Lesson 1: Introduction to DBMS
Chapter 2 database environment
Database Chapter 2
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
Introduction & history of dbms

What's hot (20)

PPTX
Relational Data Model Introduction
PDF
Enhanced Entity-Relationship (EER) Modeling
PPT
Files Vs DataBase
PPTX
SQL(DDL & DML)
PPTX
View of data DBMS
PPTX
Database architecture
PPTX
Types Of Keys in DBMS
PPT
PPTX
STRUCTURE OF SQL QUERIES
PPTX
Relational algebra ppt
PPTX
Architecture of dbms(lecture 3)
PPT
Databases: Normalisation
PPTX
Integrity Constraints
PPTX
1.4 data independence
PPT
11. Storage and File Structure in DBMS
PPT
1. Introduction to DBMS
PPTX
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
PDF
Introduction to Database Management System
PPTX
3 Level Architecture
PPTX
Relational model
Relational Data Model Introduction
Enhanced Entity-Relationship (EER) Modeling
Files Vs DataBase
SQL(DDL & DML)
View of data DBMS
Database architecture
Types Of Keys in DBMS
STRUCTURE OF SQL QUERIES
Relational algebra ppt
Architecture of dbms(lecture 3)
Databases: Normalisation
Integrity Constraints
1.4 data independence
11. Storage and File Structure in DBMS
1. Introduction to DBMS
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
Introduction to Database Management System
3 Level Architecture
Relational model
Ad

Similar to data abstraction in DBMS (20)

PPT
Data abs ind & mod
PPTX
Database abstraction
PPTX
Data Abstraction and Independance (1).pptx
PPTX
Data abstraction in DBMS
PDF
A Detail Database Architecture
PPTX
Database Environment in Database Management Systems
PPTX
Levels Of Abstraction In Database Management System.pptx
PDF
Introduction to-dbms
PDF
Database environment
PPTX
Slide 3 data abstraction & 3 schema
PDF
PPTX
Dbms architecture
PDF
Chapter 02.pdf databse schema architecture
PPTX
Module 1 - Chapter 2.pptx
PPT
Unit-1.ppt FOR CSE STUDENTD ENGINEERING COURSES
PPT
Database Management Systems.ppt
PDF
Dbms module i
PPTX
CP 121_2.pptx about time to be implement
PPTX
Lecture 2 - Database Environment and works
PPTX
database management system
Data abs ind & mod
Database abstraction
Data Abstraction and Independance (1).pptx
Data abstraction in DBMS
A Detail Database Architecture
Database Environment in Database Management Systems
Levels Of Abstraction In Database Management System.pptx
Introduction to-dbms
Database environment
Slide 3 data abstraction & 3 schema
Dbms architecture
Chapter 02.pdf databse schema architecture
Module 1 - Chapter 2.pptx
Unit-1.ppt FOR CSE STUDENTD ENGINEERING COURSES
Database Management Systems.ppt
Dbms module i
CP 121_2.pptx about time to be implement
Lecture 2 - Database Environment and works
database management system
Ad

More from BHARATH KUMAR (16)

PPTX
Object-Oriented concepts.pptx
PPTX
Java buzzwords.pptx
PPTX
history and evaluation of java.pptx
PPTX
Data Models
PPTX
Structure of a DBMS/Architecture of a DBMS
PPTX
DBMS languages/ Types of SQL Commands
PPTX
File system vs DBMS
PPTX
DBMS introduction
DOCX
Trees and Graphs in data structures and Algorithms
DOCX
Sorting
DOCX
Linked List
DOCX
ADT STACK and Queues
PPTX
Why we study LMC? by GOWRU BHARATH KUMAR
PDF
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
PDF
A Survey on Big Data Analytics
PPTX
Relation between Languages, Machines and Computations
Object-Oriented concepts.pptx
Java buzzwords.pptx
history and evaluation of java.pptx
Data Models
Structure of a DBMS/Architecture of a DBMS
DBMS languages/ Types of SQL Commands
File system vs DBMS
DBMS introduction
Trees and Graphs in data structures and Algorithms
Sorting
Linked List
ADT STACK and Queues
Why we study LMC? by GOWRU BHARATH KUMAR
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
A Survey on Big Data Analytics
Relation between Languages, Machines and Computations

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Well-logging-methods_new................
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Digital Logic Computer Design lecture notes
PPTX
additive manufacturing of ss316l using mig welding
PPTX
UNIT 4 Total Quality Management .pptx
PPT
Project quality management in manufacturing
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
DOCX
573137875-Attendance-Management-System-original
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPT
Mechanical Engineering MATERIALS Selection
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
bas. eng. economics group 4 presentation 1.pptx
Well-logging-methods_new................
Lesson 3_Tessellation.pptx finite Mathematics
CYBER-CRIMES AND SECURITY A guide to understanding
Digital Logic Computer Design lecture notes
additive manufacturing of ss316l using mig welding
UNIT 4 Total Quality Management .pptx
Project quality management in manufacturing
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Structs to JSON How Go Powers REST APIs.pdf
573137875-Attendance-Management-System-original
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Arduino robotics embedded978-1-4302-3184-4.pdf
Mechanical Engineering MATERIALS Selection
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf

data abstraction in DBMS

  • 1. Database Management Systems Data Abstraction/ Three Schema Architecture/ Three Level architecture by GOWRU BHARATH KUMAR M.Tech, (Ph.D) Assistant Professor You are My creator, But I am Your Master
  • 2. Scenario Have you ever wondered how the same website has different views for different users? For example, a college website has a different view for student, faculty and the dean. A student will see the details of his/her attendance, homework, etc. While a faculty will see his/her class time-table and all information that is related to a faculty. We see only that much amount of data which is necessary and other data is hidden from us. So, what is this phenomenon called? Yes, you got it right. This phenomenon is called data abstraction. In this, we will learn about data abstraction and we will also see the three levels of abstraction in DBMS. So, let's get started.
  • 3. Data Abstraction • The process of hiding irrelevant details from user is called Data abstraction. So, what is the meaning of irrelevant details? Let's understand this with one example. Example: If we want to access any mail from our Gmail then we don't know where that data is physically stored i.e is the data present in India or USA or what data model has been used to store that data? We are not concerned about these things. We are only concerned with our email. So, information like these i.e. location of data and data models are irrelevant to us and in data abstraction, we do this only. Apart from the location of data and data models, there are other factors that we don't care of. We hide the unnecessary data from the user and this process of hiding unwanted data is called Data Abstraction.
  • 4. Data Abstraction Cont… • There are mainly three levels of data abstraction and we divide it into three levels in order to achieve Data Independence. • Data Independence means users and data should not directly interact with each other. The user should be at a different level and the data should be present at some other level. By doing so, Data Independence can be achieved. So, let's see in details what are these three levels of data abstraction: 1. View/ External Level 2. Conceptual/ Logical Level 3. Physical/ Internal Level
  • 6. View Level • This level tells the application about how the data should be shown to the user. • view level describes the actual view of data that is relevant to the particular user. • This level also provides different views of the same database for a specific user or a group of users. • Any given database has exactly one conceptual schema and one physical schema because it has just one set of stored relations, but it may have several external schemas. • Each external schema consists of a collection of one or more views and relations from the conceptual schema. • A view is conceptually a relation, but the records in a view are not stored in the DBMS. Rather, they are computed using a definition for the view, in terms of relations stored in the DBMS.
  • 7. View Level Cont… Example: If we have a login-id and password in a university system, then as a student, we can view our marks, attendance, fee structure, etc. But the faculty of the university will have a different view. He will have options like salary, edit marks of a student, enter attendance of the students, etc. So, both the student and the faculty have a different view. By doing so, the security of the system also increases. In this example, the student can't edit his marks but the faculty who is authorized to edit the marks can edit the student's marks. Similarly, the dean of the college or university will have some more authorization and accordingly, he will has his view. So, different users will have a different view according to the authorization they have.
  • 8. Conceptual Level • This level tells how the data is actually stored and structured. We have different data models by which we can store the data. • The conceptual schema describes the structure of the whole database. • The conceptual level describes what data are to be stored in the database and also describes what relationship exists among those data. • In the conceptual level, internal details such as an implementation of the data structure are hidden. • Programmers and database administrators work at this level.
  • 9. Conceptual Level Cont… Example: Let us take an example where we use the relational model for storing the data. We have to store the data of a student, the columns in the student table will be student_name, age, mail_id, roll_no etc. We have to define all these at this level while we are creating the database. Though the data is stored in the database but the structure of the tables like the student table, teacher table, books table, etc are defined here in the conceptual level. Also, how the tables are related to each other are defined here. Overall, we can say that we are creating a blueprint of the data at the conceptual level.
  • 10. Physical Level • The Physical level tells us that where the data is actually stored i.e. it tells the actual location of the data that is being stored by the user. • The Database Administrators(DBA) decide that which data should be kept at which particular disk drive, how the data has to be fragmented, where it has to be stored etc. They decide if the data has to be centralized or distributed. Though we see the data in the form of tables at view level the data here is actually stored in the form of files only. It totally depends on the DBA, how he/she manages the database at the physical level. • The Data Abstraction provides us with a different view and help in achieving Data Independence.