Data independence

Aashima Wadhwa
Aashima WadhwaAssistant Professor um Amity University
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
1 von 12

Recomendados

Data Models von
Data ModelsData Models
Data ModelsRituBhargava7
15.4K views27 Folien
Database Management System Introduction von
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
12.3K views26 Folien
1.4 data independence von
1.4 data independence1.4 data independence
1.4 data independenceBHARATH KUMAR
1.8K views10 Folien
View of data DBMS von
View of data DBMSView of data DBMS
View of data DBMSRahul Narang
20.1K views21 Folien
All data models in dbms von
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
41.4K views16 Folien
Architecture of dbms(lecture 3) von
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Ravinder Kamboj
6.2K views11 Folien

Más contenido relacionado

Was ist angesagt?

Data abstraction in DBMS von
Data abstraction in DBMSData abstraction in DBMS
Data abstraction in DBMSPapan Sarkar
1.1K views9 Folien
Entity Relationship Diagram von
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship DiagramShakila Mahjabin
67.4K views38 Folien
Components and Advantages of DBMS von
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMSShubham Joon
11.3K views21 Folien
Er model ppt von
Er model pptEr model ppt
Er model pptPihu Goel
26.9K views19 Folien
Database abstraction von
Database abstractionDatabase abstraction
Database abstractionRituBhargava7
4.8K views13 Folien
ER Model in DBMS von
ER Model in DBMSER Model in DBMS
ER Model in DBMSKabindra Koirala
30.7K views31 Folien

Was ist angesagt?(20)

Data abstraction in DBMS von Papan Sarkar
Data abstraction in DBMSData abstraction in DBMS
Data abstraction in DBMS
Papan Sarkar1.1K views
Components and Advantages of DBMS von Shubham Joon
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
Shubham Joon11.3K views
Er model ppt von Pihu Goel
Er model pptEr model ppt
Er model ppt
Pihu Goel26.9K views
Dbms Introduction and Basics von SHIKHA GAUTAM
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
SHIKHA GAUTAM25.8K views
Basic Concept of Database von Marlon Jamera
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera21.9K views
Dbms von sevtap87
DbmsDbms
Dbms
sevtap8730.8K views
Dbms models von devgocool
Dbms modelsDbms models
Dbms models
devgocool66.1K views

Similar a Data independence

Module 1 - Chapter 2.pptx von
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxSoniaDevi15
5 views49 Folien
Ch1_Intro-95(1).ppt von
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).pptRAJULKUMARSUTHAR
51 views31 Folien
Adbms 6 three schema database architecture von
Adbms 6 three schema database architectureAdbms 6 three schema database architecture
Adbms 6 three schema database architectureVaibhav Khanna
124 views8 Folien
9a797dbms chapter1 b.sc2 von
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2Mukund Trivedi
1.6K views27 Folien
Unit 1 dbms von
Unit 1 dbmsUnit 1 dbms
Unit 1 dbmsSweta Singh
102 views39 Folien
Database Management Systems.ppt von
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppttahakhan699813
49 views31 Folien

Similar a Data independence(20)

Module 1 - Chapter 2.pptx von SoniaDevi15
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
SoniaDevi155 views
Adbms 6 three schema database architecture von Vaibhav Khanna
Adbms 6 three schema database architectureAdbms 6 three schema database architecture
Adbms 6 three schema database architecture
Vaibhav Khanna124 views
CS3270 - DATABASE SYSTEM - Lecture (2) von Dilawar Khan
CS3270 - DATABASE SYSTEM - Lecture (2)CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)
Dilawar Khan878 views
Database Management Systems von SURBHI SAROHA
Database Management SystemsDatabase Management Systems
Database Management Systems
SURBHI SAROHA185 views
CHAPTER 1 Database system architecture.pptx von kashishy2
CHAPTER 1 Database system architecture.pptxCHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptx
kashishy219 views
DatabaseManagementSystem.pptx von uwmctesting
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
uwmctesting9 views

Más de Aashima Wadhwa

Continunous and Breakthrough technologies von
Continunous and Breakthrough  technologiesContinunous and Breakthrough  technologies
Continunous and Breakthrough technologiesAashima Wadhwa
1.7K views14 Folien
System Software vs.Application Software von
System Software vs.Application SoftwareSystem Software vs.Application Software
System Software vs.Application SoftwareAashima Wadhwa
17.7K views16 Folien
Protocols von
ProtocolsProtocols
ProtocolsAashima Wadhwa
2.1K views30 Folien
Search engine optimization von
Search engine optimizationSearch engine optimization
Search engine optimizationAashima Wadhwa
965 views25 Folien
Understanding creativity von
Understanding creativityUnderstanding creativity
Understanding creativityAashima Wadhwa
1.3K views11 Folien
Disruptive technology von
Disruptive technologyDisruptive technology
Disruptive technologyAashima Wadhwa
1.7K views14 Folien

Más de Aashima Wadhwa(14)

Último

Dance KS5 Breakdown von
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 BreakdownWestHatch
86 views2 Folien
CWP_23995_2013_17_11_2023_FINAL_ORDER.pdf von
CWP_23995_2013_17_11_2023_FINAL_ORDER.pdfCWP_23995_2013_17_11_2023_FINAL_ORDER.pdf
CWP_23995_2013_17_11_2023_FINAL_ORDER.pdfSukhwinderSingh895865
536 views6 Folien
Create a Structure in VBNet.pptx von
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptxBreach_P
75 views8 Folien
REPRESENTATION - GAUNTLET.pptx von
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptxiammrhaywood
107 views26 Folien
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx von
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptxPharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptxMs. Pooja Bhandare
93 views51 Folien
Solar System and Galaxies.pptx von
Solar System and Galaxies.pptxSolar System and Galaxies.pptx
Solar System and Galaxies.pptxDrHafizKosar
94 views26 Folien

Último(20)

Dance KS5 Breakdown von WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch86 views
Create a Structure in VBNet.pptx von Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P75 views
REPRESENTATION - GAUNTLET.pptx von iammrhaywood
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptx
iammrhaywood107 views
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx von Ms. Pooja Bhandare
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptxPharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx
Solar System and Galaxies.pptx von DrHafizKosar
Solar System and Galaxies.pptxSolar System and Galaxies.pptx
Solar System and Galaxies.pptx
DrHafizKosar94 views
Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant... von Ms. Pooja Bhandare
Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant...Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant...
Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant...
Ms. Pooja Bhandare109 views
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively von PECB
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
PECB 598 views
The Accursed House by Émile Gaboriau von DivyaSheta
The Accursed House  by Émile GaboriauThe Accursed House  by Émile Gaboriau
The Accursed House by Émile Gaboriau
DivyaSheta212 views
Sociology KS5 von WestHatch
Sociology KS5Sociology KS5
Sociology KS5
WestHatch76 views
7 NOVEL DRUG DELIVERY SYSTEM.pptx von Sachin Nitave
7 NOVEL DRUG DELIVERY SYSTEM.pptx7 NOVEL DRUG DELIVERY SYSTEM.pptx
7 NOVEL DRUG DELIVERY SYSTEM.pptx
Sachin Nitave61 views
Structure and Functions of Cell.pdf von Nithya Murugan
Structure and Functions of Cell.pdfStructure and Functions of Cell.pdf
Structure and Functions of Cell.pdf
Nithya Murugan701 views

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.

Hinweis der Redaktion

  1. Schema Construct: A component of the schema or an object within the schema, e.g., STUDENT, COURSE.
  2. 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.
  3. 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.
  4. 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