SlideShare a Scribd company logo
1 of 14
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
DATA ABSTRACTION
&
3 SCHEMA
Levels of Abstraction
Data abstraction simplifies database design
• Physical level: describes how a record is stored.
• Logical level: describes data stored in database, and
the relationships among the data.
• View level: application programs hide details of data
types. Views can also hide information for security
purposes.
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Instances & Schemas
Instances
• Collection of information stored in the DB at a
particular moment
•Instances are changed frequently (insertion &
deletion)
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
• Overall design of the DB
• schemas are changed infrequently
• Schemas partitioned according to the levels of
abstraction
• Physical schema: database design at the physical
level
• Logical schema: database design at the logical
level
Schema
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Data Independence
 Achieved through the use of 3 levels of abstraction
The ability to modify a schema definition in one
level without affecting a schema definition in higher
level is called data independence
 mainly two kinds of database independence
a) Logical data independence
b) Physical data independence
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Logical data independence
 The ability to change logical schema without
changing external schema or application program is
called logical data independence
Ex:
faculty(fid: string , fname: string , office : integer , sal: real)
Divided into
fac_public (fid: string , fname: string , office : integer)
fac_private(fid: string, sal: real)
but the user who query will get the same result.
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Physical data independence
 The ability to change physical schema without
changing logical schema is called Physical data
independence
Changes in physical schema may include
 Using new storage device
 Using different data structure
 Switching from one access method to another
 using different storage structures
 modifying indexes etc.
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Three Schema Architecture
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Three Schema Architecture (Cont…)
• 3 Level Architecture / ANSI –SPARC Model
• Most modern DBMS are based on this system
• Objectives
 Allows independent customized user views
 Hides physical storage details from users
 Administrator can able to change DB storage
structure without affecting User’s view
 Internal structure of DB is unaffected by the changes
to the physical aspects of storage
 Admin can able to change the conceptual structure
of DB without affecting users
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Three Schema Architecture (Cont…)
A) External / View level
 Many users are not concerned with all the
information in database(access only portion of DB)
 Simplifies the end user’s interaction with the
system
 System may produce many views for the same
database
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
B) Conceptual / Logical level
 Describes about the data stored in the database
& relationship among the stored data
 This level is used by the DBA
 DBA decide what information kept in database
C) Internal / Physical level
 Lowest level of abstraction
 Describes data storage and access methods
 DBA may aware of certain details of the physical
organization of data
 Describes how the data are actually stored
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Detailed Three Schema Architecture
(Cont…)
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW
Three Schema Architecture (Cont…)
Prepared by Visakh V, Assistant
Professor,Dept. of CSE, LBSITW

More Related Content

What's hot

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbmsMegha yadav
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Eddyzulham Mahluzydde
 
Database abstraction
Database abstractionDatabase abstraction
Database abstractionRituBhargava7
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level ArchitectureAdeel Rasheed
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMSPadamNepal1
 
Structure of Database MAnagement System
Structure of Database MAnagement SystemStructure of Database MAnagement System
Structure of Database MAnagement Systemnitish sandhawar
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationshipswmassie
 
Er model ppt
Er model pptEr model ppt
Er model pptPihu Goel
 

What's hot (20)

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbms
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Dbms notes
Dbms notesDbms notes
Dbms notes
 
Data base management system
Data base management systemData base management system
Data base management system
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 
Data independence
Data independenceData independence
Data independence
 
Ordbms
OrdbmsOrdbms
Ordbms
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMS
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Structure of Database MAnagement System
Structure of Database MAnagement SystemStructure of Database MAnagement System
Structure of Database MAnagement System
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationships
 
Data science unit1
Data science unit1Data science unit1
Data science unit1
 
Database Chapter 3
Database Chapter 3Database Chapter 3
Database Chapter 3
 
Types dbms
Types dbmsTypes dbms
Types dbms
 
2. visualization in data mining
2. visualization in data mining2. visualization in data mining
2. visualization in data mining
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 

Viewers also liked

Degrees of data abstraction
Degrees of data abstractionDegrees of data abstraction
Degrees of data abstractionMary May Porto
 
03 data abstraction
03 data abstraction03 data abstraction
03 data abstractionOpas Kaewtai
 
Data abstraction the walls
Data abstraction the wallsData abstraction the walls
Data abstraction the wallsHoang Nguyen
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic ConceptsTony Wong
 
Lecture 03 data abstraction and er model
Lecture 03 data abstraction and er modelLecture 03 data abstraction and er model
Lecture 03 data abstraction and er modelemailharmeet
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization emailharmeet
 
Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
Degrees of data abstraction copy
Degrees of data abstraction   copyDegrees of data abstraction   copy
Degrees of data abstraction copymarkilyn
 
Create user database management security
Create user  database management securityCreate user  database management security
Create user database management securityGirija Muscut
 
Session 01 introduction to database and database management
Session 01 introduction to database and database managementSession 01 introduction to database and database management
Session 01 introduction to database and database managementrbulalakaw
 
2CPP14 - Abstraction
2CPP14 - Abstraction2CPP14 - Abstraction
2CPP14 - AbstractionMichael Heron
 
บทที่ 2 สถาปัตยกรรม
บทที่ 2 สถาปัตยกรรมบทที่ 2 สถาปัตยกรรม
บทที่ 2 สถาปัตยกรรมPrinceStorm Nueng
 
Data base management system (dbms)
Data base management system (dbms)Data base management system (dbms)
Data base management system (dbms)Larry Jones
 
Preparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_typesPreparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_typesAndres Mendez-Vazquez
 
Sedna XML Database: Transactions and Recovery
Sedna XML Database: Transactions and RecoverySedna XML Database: Transactions and Recovery
Sedna XML Database: Transactions and RecoveryIvan Shcheklein
 
Chapter01 the systems development environment
Chapter01 the systems development environmentChapter01 the systems development environment
Chapter01 the systems development environmentDhani Ahmad
 

Viewers also liked (20)

Degrees of data abstraction
Degrees of data abstractionDegrees of data abstraction
Degrees of data abstraction
 
03 data abstraction
03 data abstraction03 data abstraction
03 data abstraction
 
Data abstraction the walls
Data abstraction the wallsData abstraction the walls
Data abstraction the walls
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
 
Abstract Data Types
Abstract Data TypesAbstract Data Types
Abstract Data Types
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic Concepts
 
Lecture 03 data abstraction and er model
Lecture 03 data abstraction and er modelLecture 03 data abstraction and er model
Lecture 03 data abstraction and er model
 
Lecture 04 normalization
Lecture 04 normalization Lecture 04 normalization
Lecture 04 normalization
 
Database management system
Database management systemDatabase management system
Database management system
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Degrees of data abstraction copy
Degrees of data abstraction   copyDegrees of data abstraction   copy
Degrees of data abstraction copy
 
Create user database management security
Create user  database management securityCreate user  database management security
Create user database management security
 
Session 01 introduction to database and database management
Session 01 introduction to database and database managementSession 01 introduction to database and database management
Session 01 introduction to database and database management
 
2CPP14 - Abstraction
2CPP14 - Abstraction2CPP14 - Abstraction
2CPP14 - Abstraction
 
modeling concepts
modeling conceptsmodeling concepts
modeling concepts
 
บทที่ 2 สถาปัตยกรรม
บทที่ 2 สถาปัตยกรรมบทที่ 2 สถาปัตยกรรม
บทที่ 2 สถาปัตยกรรม
 
Data base management system (dbms)
Data base management system (dbms)Data base management system (dbms)
Data base management system (dbms)
 
Preparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_typesPreparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_types
 
Sedna XML Database: Transactions and Recovery
Sedna XML Database: Transactions and RecoverySedna XML Database: Transactions and Recovery
Sedna XML Database: Transactions and Recovery
 
Chapter01 the systems development environment
Chapter01 the systems development environmentChapter01 the systems development environment
Chapter01 the systems development environment
 

Similar to Slide 3 data abstraction & 3 schema

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.pptxAbhiGrover10
 
lecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdflecture2-151102101618-lva1-app6891.pdf
lecture2-151102101618-lva1-app6891.pdfadeel8937
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2shahab3
 
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
 
Database Management Systems
Database Management SystemsDatabase Management Systems
Database Management SystemsSURBHI SAROHA
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms usersVisakh V
 
CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)Dilawar Khan
 
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
 
Lecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptxLecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptxHarshitSharma875238
 
Data abs ind & mod
Data abs  ind  & modData abs  ind  & mod
Data abs ind & modHaider Adnan
 
Database management systems
Database management systemsDatabase management systems
Database management systemsJoel Briza
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureAmiya9439793168
 
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
 

Similar to Slide 3 data abstraction & 3 schema (20)

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
 
2.pptx
2.pptx2.pptx
2.pptx
 
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 Systems
Database Management SystemsDatabase Management Systems
Database Management Systems
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
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
 
Data
DataData
Data
 
Lecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptxLecture-3 DBMS Architecture.pptx
Lecture-3 DBMS Architecture.pptx
 
Data abs ind & mod
Data abs  ind  & modData abs  ind  & mod
Data abs ind & mod
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Unit 1.2.pptx
Unit 1.2.pptxUnit 1.2.pptx
Unit 1.2.pptx
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
 
Database Management system 4.pptx
Database Management system 4.pptxDatabase Management system 4.pptx
Database Management system 4.pptx
 
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
 

More from Visakh V

Functional dependency and normalization
Functional dependency and normalizationFunctional dependency and normalization
Functional dependency and normalizationVisakh V
 
Data base recovery
Data base recoveryData base recovery
Data base recoveryVisakh V
 
Relational algebra complete
Relational algebra completeRelational algebra complete
Relational algebra completeVisakh V
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms usersVisakh V
 
Transaction Management
Transaction Management Transaction Management
Transaction Management Visakh V
 
Memory Management
Memory ManagementMemory Management
Memory ManagementVisakh V
 
Slide 5 keys
Slide 5 keysSlide 5 keys
Slide 5 keysVisakh V
 
Slide 6 er strong & weak entity
Slide 6 er  strong & weak entitySlide 6 er  strong & weak entity
Slide 6 er strong & weak entityVisakh V
 
Slide 2 data models
Slide 2 data modelsSlide 2 data models
Slide 2 data modelsVisakh V
 
Slide 1 introduction to dbms
Slide 1 introduction to dbmsSlide 1 introduction to dbms
Slide 1 introduction to dbmsVisakh V
 
Functional dependancy
Functional dependancyFunctional dependancy
Functional dependancyVisakh V
 
Relational algebr
Relational algebrRelational algebr
Relational algebrVisakh V
 
data constraints,group by
data constraints,group by data constraints,group by
data constraints,group by Visakh V
 

More from Visakh V (13)

Functional dependency and normalization
Functional dependency and normalizationFunctional dependency and normalization
Functional dependency and normalization
 
Data base recovery
Data base recoveryData base recovery
Data base recovery
 
Relational algebra complete
Relational algebra completeRelational algebra complete
Relational algebra complete
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
 
Transaction Management
Transaction Management Transaction Management
Transaction Management
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Slide 5 keys
Slide 5 keysSlide 5 keys
Slide 5 keys
 
Slide 6 er strong & weak entity
Slide 6 er  strong & weak entitySlide 6 er  strong & weak entity
Slide 6 er strong & weak entity
 
Slide 2 data models
Slide 2 data modelsSlide 2 data models
Slide 2 data models
 
Slide 1 introduction to dbms
Slide 1 introduction to dbmsSlide 1 introduction to dbms
Slide 1 introduction to dbms
 
Functional dependancy
Functional dependancyFunctional dependancy
Functional dependancy
 
Relational algebr
Relational algebrRelational algebr
Relational algebr
 
data constraints,group by
data constraints,group by data constraints,group by
data constraints,group by
 

Recently uploaded

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 

Recently uploaded (20)

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 

Slide 3 data abstraction & 3 schema

  • 1. Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW DATA ABSTRACTION & 3 SCHEMA
  • 2. Levels of Abstraction Data abstraction simplifies database design • Physical level: describes how a record is stored. • Logical level: describes data stored in database, and the relationships among the data. • View level: application programs hide details of data types. Views can also hide information for security purposes. Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 3. Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 4. Instances & Schemas Instances • Collection of information stored in the DB at a particular moment •Instances are changed frequently (insertion & deletion) Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 5. • Overall design of the DB • schemas are changed infrequently • Schemas partitioned according to the levels of abstraction • Physical schema: database design at the physical level • Logical schema: database design at the logical level Schema Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 6. Data Independence  Achieved through the use of 3 levels of abstraction The ability to modify a schema definition in one level without affecting a schema definition in higher level is called data independence  mainly two kinds of database independence a) Logical data independence b) Physical data independence Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 7. Logical data independence  The ability to change logical schema without changing external schema or application program is called logical data independence Ex: faculty(fid: string , fname: string , office : integer , sal: real) Divided into fac_public (fid: string , fname: string , office : integer) fac_private(fid: string, sal: real) but the user who query will get the same result. Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 8. Physical data independence  The ability to change physical schema without changing logical schema is called Physical data independence Changes in physical schema may include  Using new storage device  Using different data structure  Switching from one access method to another  using different storage structures  modifying indexes etc. Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 9. Three Schema Architecture Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 10. Three Schema Architecture (Cont…) • 3 Level Architecture / ANSI –SPARC Model • Most modern DBMS are based on this system • Objectives  Allows independent customized user views  Hides physical storage details from users  Administrator can able to change DB storage structure without affecting User’s view  Internal structure of DB is unaffected by the changes to the physical aspects of storage  Admin can able to change the conceptual structure of DB without affecting users Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 11. Three Schema Architecture (Cont…) A) External / View level  Many users are not concerned with all the information in database(access only portion of DB)  Simplifies the end user’s interaction with the system  System may produce many views for the same database Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 12. B) Conceptual / Logical level  Describes about the data stored in the database & relationship among the stored data  This level is used by the DBA  DBA decide what information kept in database C) Internal / Physical level  Lowest level of abstraction  Describes data storage and access methods  DBA may aware of certain details of the physical organization of data  Describes how the data are actually stored Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 13. Detailed Three Schema Architecture (Cont…) Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW
  • 14. Three Schema Architecture (Cont…) Prepared by Visakh V, Assistant Professor,Dept. of CSE, LBSITW