SlideShare a Scribd company logo
1 of 14
Download to read offline
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 (20)

FUNCTION DEPENDENCY AND TYPES & EXAMPLE
FUNCTION DEPENDENCY  AND TYPES & EXAMPLEFUNCTION DEPENDENCY  AND TYPES & EXAMPLE
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
 
Data definition language
Data definition languageData definition language
Data definition language
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
 
Schema
SchemaSchema
Schema
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Degree of relationship set
Degree of relationship setDegree of relationship set
Degree of relationship set
 
DBMS Keys
DBMS KeysDBMS Keys
DBMS Keys
 
Database administrator
Database administratorDatabase administrator
Database administrator
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptx
 
Database language
Database languageDatabase language
Database language
 
Data abstraction in DBMS
Data abstraction in DBMSData abstraction in DBMS
Data abstraction in DBMS
 
Relational database
Relational database Relational database
Relational database
 
Anomalies in database
Anomalies in databaseAnomalies in database
Anomalies in database
 
DBMS: Types of keys
DBMS:  Types of keysDBMS:  Types of keys
DBMS: Types of keys
 
vb.net Constructor and destructor
vb.net Constructor and destructorvb.net Constructor and destructor
vb.net Constructor and destructor
 
Data independence
Data independenceData independence
Data independence
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 

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
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
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
 
Data base management system
Data base management systemData base management system
Data base management system
 
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
 
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
 
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
Architecture of dbmsArchitecture of dbms
Architecture of dbmsAnkit Dubey
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms usersVisakh V
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONSghazi103
 

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
 
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
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
 
DATABASE FUNCTIONS
DATABASE FUNCTIONSDATABASE FUNCTIONS
DATABASE FUNCTIONS
 

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
 
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 (12)

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
 
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

March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...gerogepatton
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosVictor Morales
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 
Curve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptxCurve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptxRomil Mishra
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
Theory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfTheory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfShreyas Pandit
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organizationchnrketan
 
A brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProA brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProRay Yuan Liu
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
 
Secure Key Crypto - Tech Paper JET Tech Labs
Secure Key Crypto - Tech Paper JET Tech LabsSecure Key Crypto - Tech Paper JET Tech Labs
Secure Key Crypto - Tech Paper JET Tech Labsamber724300
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier Fernández Muñoz
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptNoman khan
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 

Recently uploaded (20)

March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
March 2024 - Top 10 Read Articles in Artificial Intelligence and Applications...
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 
Curve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptxCurve setting (Basic Mine Surveying)_MI10412MI.pptx
Curve setting (Basic Mine Surveying)_MI10412MI.pptx
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
Theory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfTheory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdf
 
priority interrupt computer organization
priority interrupt computer organizationpriority interrupt computer organization
priority interrupt computer organization
 
A brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProA brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision Pro
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
 
Secure Key Crypto - Tech Paper JET Tech Labs
Secure Key Crypto - Tech Paper JET Tech LabsSecure Key Crypto - Tech Paper JET Tech Labs
Secure Key Crypto - Tech Paper JET Tech Labs
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptx
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).ppt
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
ASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductosASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductos
 

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