SlideShare a Scribd company logo
1 of 16
Download to read offline
UNIT 1
Lecture 2
Dinesh Kumar Bhawnani, BIT DURG
Data Abstraction
•It can be summed up as follows.
•When the DBMS hides certain details of how data is
stored and maintained, it provides what is called as
the abstract view of data.
•This is to simplify user-interaction with the system.
•Complexity (of data and data structure) is hidden
from users through several levels of abstraction.
Dinesh Kumar Bhawnani, BIT DURG 2
Data Abstraction
•Data abstraction is used for following purposes:
•To provide abstract view of data.
•To hide complexity from user.
•To simplify user interaction with DBMS.
Dinesh Kumar Bhawnani, BIT DURG 3
Levels of Data Abstraction
Dinesh Kumar Bhawnani, BIT DURG 4
Levels of Data Abstraction
• Physical level: It describes how a record (e.g., customer) is stored.
• Features:
a) Lowest level of abstraction.
b) It describes how data are actually stored.
c) It describes low-level complex data structures in detail.
d) At this level, efficient algorithms to access data are defined.
Dinesh Kumar Bhawnani, BIT DURG 5
Levels of Data Abstraction
• Logical level: It describes what data stored in database, and the
relationships among the data.
• Features:
a) It is next-higher level of abstraction. Here whole Database is divided
into small simple structures.
b) Users at this level need not be aware of the physical-level
complexity used to implement the simple structures.
c) Here the aim is ease of use.
d) Generally, database administrators (DBAs) work at logical level of
abstraction..
Dinesh Kumar Bhawnani, BIT DURG 6
Levels of Data Abstraction
• View level: Application programs hide details of data types. Views
can also hide information (e.g., salary) for security purposes.
• Features:
a) It is the highest level of abstraction.
b) It describes only a part of the whole Database for particular group
of users.
c) This view hides all complexity.
d) It exists only to simplify user interaction with system.
e) The system may provide many views for the whole system.
Dinesh Kumar Bhawnani, BIT DURG 7
Instances and Schemas
• Instances and Schemas are similar to types and variables in
programming languages.
• Schema:
• The overall design of a database is called database schema.
• E.g., the database consists of information about a set of customers
and accounts and the relationship between them.
• It is analogous to variable along with its type information in a
program.
Dinesh Kumar Bhawnani, BIT DURG 8
Instances and Schemas
• Types of Schemas (partitioned according to levels of
abstraction):
• Physical schema: It is database design at the physical level. It is
hidden below logical schema, and can be changed easily without
affecting application programs.
• Logical schema: It is database design at the logical level.
Programmers construct applications using logical schema. It is by
far the most important schema, in terms of its effect on
application programs.
• Subschema: It is schema at view level.
Dinesh Kumar Bhawnani, BIT DURG 9
Instances and Schemas
• Instance:
• It is the actual content of the database at a particular point in time. It
is analogous to the value of a variable.
Dinesh Kumar Bhawnani, BIT DURG 10
ANSI / SPARC 3 level Architecture
Dinesh Kumar Bhawnani, BIT DURG 11
ANSI / SPARC 3 level Architecture
Dinesh Kumar Bhawnani, BIT DURG 12
Data Independence
• Data independence is the ability to modify a schema
definition in one level without affecting a schema
definition in a higher level is called data
independence.
Dinesh Kumar Bhawnani, BIT DURG 13
Data Independence
• There are two types of ‘data independence’:
• Physical data independence
• It is the ability to modify the physical scheme without causing application programs
to be rewritten.
• Modifications at this level are usually to improve performance.
• Logical data independence
• It is the ability to modify the conceptual scheme without causing application
programs to be rewritten
• It is usually done when logical structure of database is altered.
• Logical data independence is harder to achieve as the application programs
are usually heavily dependent on the logical structure of the data. An
analogy is made to abstract data types in programming languages.
Dinesh Kumar Bhawnani, BIT DURG 14
University Questions based on lecture
1. Explain ANSI/ SPARC 3 level architecture of
DBMS. Why the mapping between different
levels are done?
2. Explain the level of data abstraction.
3. Write short notes on schema and instance.
4. What is data independence?
Dinesh Kumar Bhawnani, BIT DURG 15
For Video lecture on this topic please subscribe to my youtube channel.
The link for my youtube channel is
https://www.youtube.com/channel/UCRWGtE76JlTp1iim6aOTRuw?sub
_confirmation=1
Dinesh Kumar Bhawnani, BIT DURG 16

More Related Content

What's hot

Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
 
Cloud computing notes unit II
Cloud computing notes unit II Cloud computing notes unit II
Cloud computing notes unit II NANDINI SHARMA
 
Client server architecture
Client server architectureClient server architecture
Client server architectureRituBhargava7
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1Sonia Mim
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management systemSaibee Alam
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationJafar Nesargi
 
Mobile Cloud Computing
Mobile Cloud ComputingMobile Cloud Computing
Mobile Cloud ComputingPranav Sharma
 
Advanced SQL - Database Access from Programming Languages
Advanced SQL - Database Access  from Programming LanguagesAdvanced SQL - Database Access  from Programming Languages
Advanced SQL - Database Access from Programming LanguagesS.Shayan Daneshvar
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Rabin BK
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databasesAashima Wadhwa
 
Client server architecture
Client server architectureClient server architecture
Client server architectureBhargav Amin
 
Dbms ii mca-ch1-ch2-intro-datamodel-2013
Dbms ii mca-ch1-ch2-intro-datamodel-2013Dbms ii mca-ch1-ch2-intro-datamodel-2013
Dbms ii mca-ch1-ch2-intro-datamodel-2013Prosanta Ghosh
 
Database management system
Database management systemDatabase management system
Database management systemSimran Kaur
 
Codd's Rules for Relational Database Management Systems
Codd's Rules for Relational Database Management SystemsCodd's Rules for Relational Database Management Systems
Codd's Rules for Relational Database Management SystemsRajeev Srivastava
 
Unit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingUnit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingMonishaNehkal
 

What's hot (20)

Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
Cloud computing notes unit II
Cloud computing notes unit II Cloud computing notes unit II
Cloud computing notes unit II
 
Chapter25
Chapter25Chapter25
Chapter25
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management system
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organization
 
IMS concepts
IMS concepts IMS concepts
IMS concepts
 
Mobile Cloud Computing
Mobile Cloud ComputingMobile Cloud Computing
Mobile Cloud Computing
 
Advanced SQL - Database Access from Programming Languages
Advanced SQL - Database Access  from Programming LanguagesAdvanced SQL - Database Access  from Programming Languages
Advanced SQL - Database Access from Programming Languages
 
Nimbus
NimbusNimbus
Nimbus
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Dbms ii mca-ch1-ch2-intro-datamodel-2013
Dbms ii mca-ch1-ch2-intro-datamodel-2013Dbms ii mca-ch1-ch2-intro-datamodel-2013
Dbms ii mca-ch1-ch2-intro-datamodel-2013
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
 
DBMS OF DATA MODEL Deepika 2
DBMS OF DATA MODEL  Deepika 2DBMS OF DATA MODEL  Deepika 2
DBMS OF DATA MODEL Deepika 2
 
Database management system
Database management systemDatabase management system
Database management system
 
Codd's Rules for Relational Database Management Systems
Codd's Rules for Relational Database Management SystemsCodd's Rules for Relational Database Management Systems
Codd's Rules for Relational Database Management Systems
 
Unit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computingUnit 3 -Data storage and cloud computing
Unit 3 -Data storage and cloud computing
 

Similar to Dbms Notes Lecture 2 : Levels of Data Abstraction

Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Ravinder Kamboj
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbmsAnkit Dubey
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptxAaravSharma743156
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnRajasekhar364622
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptxdhanajimirajkar1
 
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 implementflyinimohamed
 
CHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxCHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxkashishy2
 
Dbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersDbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersBIT Durg
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONSghazi103
 
DBMS architecture &; system structure
DBMS architecture &; system  structureDBMS architecture &; system  structure
DBMS architecture &; system structureRUpaliLohar
 
Database management system1
Database management system1Database management system1
Database management system1jamwal85
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptxSreenivas R
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxnehasahuji
 
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
 

Similar to Dbms Notes Lecture 2 : Levels of Data Abstraction (20)

Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
Unit 1.2.pptx
Unit 1.2.pptxUnit 1.2.pptx
Unit 1.2.pptx
 
2.pptx
2.pptx2.pptx
2.pptx
 
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
 
CHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxCHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptx
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
Dbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database usersDbms Notes Lecture 3 : Types of database users
Dbms Notes Lecture 3 : Types of database users
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONS
 
DBMS architecture &; system structure
DBMS architecture &; system  structureDBMS architecture &; system  structure
DBMS architecture &; system structure
 
Database management system1
Database management system1Database management system1
Database management system1
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
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
 

More from BIT Durg

Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationDbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationBIT Durg
 
Dbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutionsDbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutionsBIT Durg
 
Database management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity setsDatabase management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity setsBIT Durg
 
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality RatioDbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality RatioBIT Durg
 
Dbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, EntityDbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, EntityBIT Durg
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSBIT Durg
 
Dbms Notes Lecture 1 : Drawbacks of File processing system
Dbms Notes Lecture 1 : Drawbacks of File processing systemDbms Notes Lecture 1 : Drawbacks of File processing system
Dbms Notes Lecture 1 : Drawbacks of File processing systemBIT Durg
 

More from BIT Durg (7)

Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationDbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
 
Dbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutionsDbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutions
 
Database management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity setsDatabase management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity sets
 
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality RatioDbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
 
Dbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, EntityDbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, Entity
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMS
 
Dbms Notes Lecture 1 : Drawbacks of File processing system
Dbms Notes Lecture 1 : Drawbacks of File processing systemDbms Notes Lecture 1 : Drawbacks of File processing system
Dbms Notes Lecture 1 : Drawbacks of File processing system
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Dbms Notes Lecture 2 : Levels of Data Abstraction

  • 1. UNIT 1 Lecture 2 Dinesh Kumar Bhawnani, BIT DURG
  • 2. Data Abstraction •It can be summed up as follows. •When the DBMS hides certain details of how data is stored and maintained, it provides what is called as the abstract view of data. •This is to simplify user-interaction with the system. •Complexity (of data and data structure) is hidden from users through several levels of abstraction. Dinesh Kumar Bhawnani, BIT DURG 2
  • 3. Data Abstraction •Data abstraction is used for following purposes: •To provide abstract view of data. •To hide complexity from user. •To simplify user interaction with DBMS. Dinesh Kumar Bhawnani, BIT DURG 3
  • 4. Levels of Data Abstraction Dinesh Kumar Bhawnani, BIT DURG 4
  • 5. Levels of Data Abstraction • Physical level: It describes how a record (e.g., customer) is stored. • Features: a) Lowest level of abstraction. b) It describes how data are actually stored. c) It describes low-level complex data structures in detail. d) At this level, efficient algorithms to access data are defined. Dinesh Kumar Bhawnani, BIT DURG 5
  • 6. Levels of Data Abstraction • Logical level: It describes what data stored in database, and the relationships among the data. • Features: a) It is next-higher level of abstraction. Here whole Database is divided into small simple structures. b) Users at this level need not be aware of the physical-level complexity used to implement the simple structures. c) Here the aim is ease of use. d) Generally, database administrators (DBAs) work at logical level of abstraction.. Dinesh Kumar Bhawnani, BIT DURG 6
  • 7. Levels of Data Abstraction • View level: Application programs hide details of data types. Views can also hide information (e.g., salary) for security purposes. • Features: a) It is the highest level of abstraction. b) It describes only a part of the whole Database for particular group of users. c) This view hides all complexity. d) It exists only to simplify user interaction with system. e) The system may provide many views for the whole system. Dinesh Kumar Bhawnani, BIT DURG 7
  • 8. Instances and Schemas • Instances and Schemas are similar to types and variables in programming languages. • Schema: • The overall design of a database is called database schema. • E.g., the database consists of information about a set of customers and accounts and the relationship between them. • It is analogous to variable along with its type information in a program. Dinesh Kumar Bhawnani, BIT DURG 8
  • 9. Instances and Schemas • Types of Schemas (partitioned according to levels of abstraction): • Physical schema: It is database design at the physical level. It is hidden below logical schema, and can be changed easily without affecting application programs. • Logical schema: It is database design at the logical level. Programmers construct applications using logical schema. It is by far the most important schema, in terms of its effect on application programs. • Subschema: It is schema at view level. Dinesh Kumar Bhawnani, BIT DURG 9
  • 10. Instances and Schemas • Instance: • It is the actual content of the database at a particular point in time. It is analogous to the value of a variable. Dinesh Kumar Bhawnani, BIT DURG 10
  • 11. ANSI / SPARC 3 level Architecture Dinesh Kumar Bhawnani, BIT DURG 11
  • 12. ANSI / SPARC 3 level Architecture Dinesh Kumar Bhawnani, BIT DURG 12
  • 13. Data Independence • Data independence is the ability to modify a schema definition in one level without affecting a schema definition in a higher level is called data independence. Dinesh Kumar Bhawnani, BIT DURG 13
  • 14. Data Independence • There are two types of ‘data independence’: • Physical data independence • It is the ability to modify the physical scheme without causing application programs to be rewritten. • Modifications at this level are usually to improve performance. • Logical data independence • It is the ability to modify the conceptual scheme without causing application programs to be rewritten • It is usually done when logical structure of database is altered. • Logical data independence is harder to achieve as the application programs are usually heavily dependent on the logical structure of the data. An analogy is made to abstract data types in programming languages. Dinesh Kumar Bhawnani, BIT DURG 14
  • 15. University Questions based on lecture 1. Explain ANSI/ SPARC 3 level architecture of DBMS. Why the mapping between different levels are done? 2. Explain the level of data abstraction. 3. Write short notes on schema and instance. 4. What is data independence? Dinesh Kumar Bhawnani, BIT DURG 15
  • 16. For Video lecture on this topic please subscribe to my youtube channel. The link for my youtube channel is https://www.youtube.com/channel/UCRWGtE76JlTp1iim6aOTRuw?sub _confirmation=1 Dinesh Kumar Bhawnani, BIT DURG 16