SlideShare a Scribd company logo
2
Most read
5
Most read
6
Most read
Introduction To :
Data Independence
Ashima Wadhwa
Assistant Professor (IT)
Amity University, Noida
Database Schemas
• Database Schema: The description of a
database. Includes descriptions of the database
structure and the constraints that should hold
on the database.
• Schema Diagram: A diagrammatic display of
(some aspects of) a database schema.
Database Schema Vs. Database
State
• Database State: Refers to the content of a
database at a moment in time.
• Initial Database State: Refers to the database
when it is loaded
• Valid State: A state that satisfies the structure
and constraints of the database.
Three-Schema Architecture
• Defines DBMS schemas at three levels:
• Internal schema at the internal level to describe
physical storage structures and access paths. Typically
uses a physical data model.
• Conceptual schema at the conceptual level to describe
the structure and constraints for the whole database for
a community of users. Uses a conceptual or an
implementation data model.
• External schemas at the external level to describe the
various user views. Usually uses the same data model as
the conceptual level.
Data Independence
When a schema at a lower level is changed, only the
mappings between this schema and higher-level
schemas need to be changed in a DBMS that fully
supports data independence. The higher-level
schemas themselves are unchanged. Hence, the
application programs need not be changed since they
refer to the external schemas.
Logical Data Independence
The ability to change the logical schema without changing the
external schema or application programs is called as Logical
Data Independence.
OR
The ability to change the logical schema without having to
change the external schema.
Examples
The addition or removal of new entities,
attributes, or relationships to the conceptual
schema should be possible without having to
change existing external schemas or having to
rewrite existing application programs.
Data independence
Physical Data Independence
The ability to change the physical schema without
changing the logical schema is called as Physical Data
Independence.  Changes in the physical schema may
include.
Using new storage devices.
Using different data structures.
Switching from one access method to another.
Using different file organizations or storage structures.
Modifying indexes.
Examples
A change to the internal schema, such as using different
file organization or storage structures, storage devices, or
indexing strategy, should be possible without having to
change the conceptual or external schemas.
Summery :
• Logical Data Independence: The capacity to change
the conceptual schema without having to change the
external schemas and their application programs.
• Physical Data Independence: The capacity to
change the internal schema without having to change
the conceptual schema.
Thanks !
Slide 2-12

More Related Content

PPTX
Functional dependencies and normalization
PPTX
PDF
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
PPT
Codd's rules
PPTX
Functional dependency
PPTX
Dbms 4NF & 5NF
PPTX
1.4 data independence
PDF
Data models
Functional dependencies and normalization
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
Codd's rules
Functional dependency
Dbms 4NF & 5NF
1.4 data independence
Data models

What's hot (20)

PPTX
Types Of Keys in DBMS
PPT
Files Vs DataBase
PPTX
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
PPTX
Database abstraction
PPTX
Database architecture
PPTX
Er diagrams presentation
PPTX
Structure of dbms
PPT
Coupling and cohesion
PPT
PPTX
3 Level Architecture
PPT
1. Introduction to DBMS
PPT
BINARY TREE REPRESENTATION.ppt
PPTX
Relational algebra ppt
PDF
Dbms 3: 3 Schema Architecture
PPTX
B and B+ tree
PPTX
serializability in dbms
PDF
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
PDF
Data Models
PDF
Database Normalization
PPTX
Advantages of DBMS
Types Of Keys in DBMS
Files Vs DataBase
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
Database abstraction
Database architecture
Er diagrams presentation
Structure of dbms
Coupling and cohesion
3 Level Architecture
1. Introduction to DBMS
BINARY TREE REPRESENTATION.ppt
Relational algebra ppt
Dbms 3: 3 Schema Architecture
B and B+ tree
serializability in dbms
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Data Models
Database Normalization
Advantages of DBMS
Ad

Similar to Data independence (20)

PPTX
DBMS-gggfffdddddssswwassssssdddschema.pptx
PPT
PPT5_DataBaseManagement Systems_Three Schema Architecture.ppt
PDF
Chapter 02.pdf databse schema architecture
PPTX
Datamodels & architecture
PPTX
Adbms 6 three schema database architecture
PPT
11 Database Concepts
PPTX
Unit 1.2.pptx
PDF
Database Systems - introduction
PDF
Schema 170507160618
PPS
Architecture of-dbms-and-data-independence
PPTX
Module 1 - Chapter 2.pptx
PPTX
Architecture of dbms(lecture 3)
PDF
Architecture of dbms
PPT
Lecture 4 Database management system.ppt
PDF
Introduction to-dbms
PPTX
dbms unit-1
PDF
RDBMS NOTES 1.pdf BWSBFDGFEDRHHYGTRFEDCWXSDFRGTHYUJ7IK89O8IJUY7HGTR
PPT
data base
PPTX
DatabaseManagementSystem.pptx
PDF
Comprehensive Guide to Effective Data Model Principles
DBMS-gggfffdddddssswwassssssdddschema.pptx
PPT5_DataBaseManagement Systems_Three Schema Architecture.ppt
Chapter 02.pdf databse schema architecture
Datamodels & architecture
Adbms 6 three schema database architecture
11 Database Concepts
Unit 1.2.pptx
Database Systems - introduction
Schema 170507160618
Architecture of-dbms-and-data-independence
Module 1 - Chapter 2.pptx
Architecture of dbms(lecture 3)
Architecture of dbms
Lecture 4 Database management system.ppt
Introduction to-dbms
dbms unit-1
RDBMS NOTES 1.pdf BWSBFDGFEDRHHYGTRFEDCWXSDFRGTHYUJ7IK89O8IJUY7HGTR
data base
DatabaseManagementSystem.pptx
Comprehensive Guide to Effective Data Model Principles
Ad

More from Aashima Wadhwa (14)

PPT
Continunous and Breakthrough technologies
PPT
System Software vs.Application Software
PPTX
Protocols
PPT
Search engine optimization
PPT
Understanding creativity
PPT
Disruptive technology
PPTX
Introduction to databases
PPT
Feasibility anaylsis
PPTX
Global E- business
PPTX
Information system
PPT
Object concepts
PPT
Domain Name System
PPT
Software Development Life Cycle
PPT
Database admiistration
Continunous and Breakthrough technologies
System Software vs.Application Software
Protocols
Search engine optimization
Understanding creativity
Disruptive technology
Introduction to databases
Feasibility anaylsis
Global E- business
Information system
Object concepts
Domain Name System
Software Development Life Cycle
Database admiistration

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
01-Introduction-to-Information-Management.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Microbial disease of the cardiovascular and lymphatic systems
Module 4: Burden of Disease Tutorial Slides S2 2025
Renaissance Architecture: A Journey from Faith to Humanism
PPH.pptx obstetrics and gynecology in nursing
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Anesthesia in Laparoscopic Surgery in India
STATICS OF THE RIGID BODIES Hibbelers.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
01-Introduction-to-Information-Management.pdf
Classroom Observation Tools for Teachers
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Supply Chain Operations Speaking Notes -ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
VCE English Exam - Section C Student Revision Booklet

Data independence

  • 1. Introduction To : Data Independence Ashima Wadhwa Assistant Professor (IT) Amity University, Noida
  • 2. Database Schemas • Database Schema: The description of a database. Includes descriptions of the database structure and the constraints that should hold on the database. • Schema Diagram: A diagrammatic display of (some aspects of) a database schema.
  • 3. Database Schema Vs. Database State • Database State: Refers to the content of a database at a moment in time. • Initial Database State: Refers to the database when it is loaded • Valid State: A state that satisfies the structure and constraints of the database.
  • 4. Three-Schema Architecture • Defines DBMS schemas at three levels: • Internal schema at the internal level to describe physical storage structures and access paths. Typically uses a physical data model. • Conceptual schema at the conceptual level to describe the structure and constraints for the whole database for a community of users. Uses a conceptual or an implementation data model. • External schemas at the external level to describe the various user views. Usually uses the same data model as the conceptual level.
  • 5. Data Independence When a schema at a lower level is changed, only the mappings between this schema and higher-level schemas need to be changed in a DBMS that fully supports data independence. The higher-level schemas themselves are unchanged. Hence, the application programs need not be changed since they refer to the external schemas.
  • 6. Logical Data Independence The ability to change the logical schema without changing the external schema or application programs is called as Logical Data Independence. OR The ability to change the logical schema without having to change the external schema.
  • 7. Examples The addition or removal of new entities, attributes, or relationships to the conceptual schema should be possible without having to change existing external schemas or having to rewrite existing application programs.
  • 9. Physical Data Independence The ability to change the physical schema without changing the logical schema is called as Physical Data Independence.  Changes in the physical schema may include. Using new storage devices. Using different data structures. Switching from one access method to another. Using different file organizations or storage structures. Modifying indexes.
  • 10. Examples A change to the internal schema, such as using different file organization or storage structures, storage devices, or indexing strategy, should be possible without having to change the conceptual or external schemas.
  • 11. Summery : • Logical Data Independence: The capacity to change the conceptual schema without having to change the external schemas and their application programs. • Physical Data Independence: The capacity to change the internal schema without having to change the conceptual schema.

Editor's Notes

  • #3: Schema Construct: A component of the schema or an object within the schema, e.g., STUDENT, COURSE.
  • #4: Database Instance: The actual data stored in a database at a particular moment in time. Also called database state (or occurrence). Distinction The database schema changes very infrequently. The database state changes every time the database is updated. Schema is also called intension, whereas state is called extension.
  • #5: Mappings among schema levels are needed to transform requests and data. Programs refer to an external schema, and are mapped by the DBMS to the internal schema for execution.
  • #12: Physical data independence: capacity to change the physical schema w/o having to rewrite the application programs Logical data independence: capacity to change the conceptual schema w/o having to rewrite the application programs logical data independence is more difficult to achieve than physical data independence