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
1.4 data independence
BHARATH KUMAR
 
PPT
Java collections concept
kumar gaurav
 
PPTX
Front end web development
viveksewa
 
PPTX
Data Modeling PPT
Trinath
 
ODP
ER Model in DBMS
Kabindra Koirala
 
PPTX
Dbms Introduction and Basics
SHIKHA GAUTAM
 
PPTX
Library Management System.powerpoint.pptx
KaiumShuvo1
 
PPTX
first mass in the Philippines.pptx
ChriselJaneGregorio
 
1.4 data independence
BHARATH KUMAR
 
Java collections concept
kumar gaurav
 
Front end web development
viveksewa
 
Data Modeling PPT
Trinath
 
ER Model in DBMS
Kabindra Koirala
 
Dbms Introduction and Basics
SHIKHA GAUTAM
 
Library Management System.powerpoint.pptx
KaiumShuvo1
 
first mass in the Philippines.pptx
ChriselJaneGregorio
 

What's hot (20)

PPT
Data models
Usman Tariq
 
PPTX
database language ppt.pptx
Anusha sivakumar
 
PDF
Data Models
RituBhargava7
 
PPTX
Types of Database Models
Murassa Gillani
 
PPTX
Database architecture
VENNILAV6
 
PDF
Dbms 3: 3 Schema Architecture
Amiya9439793168
 
PPTX
Database management system
Shashikumar_chari
 
PPTX
3 Level Architecture
Adeel Rasheed
 
PPTX
Integrity Constraints
Megha yadav
 
PPT
1. Introduction to DBMS
koolkampus
 
PPTX
Basic Concept of Database
Marlon Jamera
 
PPTX
DATABASE CONSTRAINTS
sunanditaAnand
 
PPTX
Characteristic of dabase approach
Luina Pani
 
PPTX
Er model ppt
Pihu Goel
 
PPTX
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Atik Israk
 
PPTX
File systems versus a dbms
RituBhargava7
 
PPTX
Dbms database models
sanjeev kumar suman
 
PPT
Dbms relational model
Chirag vasava
 
PPTX
Database Management System
NILESH UCHCHASARE
 
Data models
Usman Tariq
 
database language ppt.pptx
Anusha sivakumar
 
Data Models
RituBhargava7
 
Types of Database Models
Murassa Gillani
 
Database architecture
VENNILAV6
 
Dbms 3: 3 Schema Architecture
Amiya9439793168
 
Database management system
Shashikumar_chari
 
3 Level Architecture
Adeel Rasheed
 
Integrity Constraints
Megha yadav
 
1. Introduction to DBMS
koolkampus
 
Basic Concept of Database
Marlon Jamera
 
DATABASE CONSTRAINTS
sunanditaAnand
 
Characteristic of dabase approach
Luina Pani
 
Er model ppt
Pihu Goel
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Atik Israk
 
File systems versus a dbms
RituBhargava7
 
Dbms database models
sanjeev kumar suman
 
Dbms relational model
Chirag vasava
 
Database Management System
NILESH UCHCHASARE
 
Ad

Similar to Data independence (20)

PPTX
Module 1 - Chapter 2.pptx
SoniaDevi15
 
PDF
Chapter 02.pdf databse schema architecture
AyeshaaShafaqat
 
PPT
Ch1_Intro-95(1).ppt
RAJULKUMARSUTHAR
 
PPTX
Adbms 6 three schema database architecture
Vaibhav Khanna
 
PPT
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
PDF
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
NaveenGRaju
 
PPTX
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
PPT
PPT5_DataBaseManagement Systems_Three Schema Architecture.ppt
BHASKARADEPU2
 
PPTX
Unit 1-Introduction to Database Systems.pptx
anumanenivbcd22
 
PPTX
Unit 1 dbms
Sweta Singh
 
PPTX
Database Management Systems (DBMS) are software systems used to store, retrie...
mayurjagdale4
 
PDF
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
PPT
Database Management Systems.ppt
tahakhan699813
 
PPTX
DATABASE MANAGEMENT SYSTEMS PPT .pptx
YogeshGarg228050
 
PPTX
CS3270 - DATABASE SYSTEM - Lecture (2)
Dilawar Khan
 
PPTX
PPT Lecture 1.3 Database System Administrator.pptx
AbhiGrover10
 
PPTX
2nd chapter dbms.pptx
kavitha623544
 
PPTX
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
PPT
data base
Surya Swaroop
 
PDF
Unit 1 DBMS
DhivyaSubramaniyam
 
Module 1 - Chapter 2.pptx
SoniaDevi15
 
Chapter 02.pdf databse schema architecture
AyeshaaShafaqat
 
Ch1_Intro-95(1).ppt
RAJULKUMARSUTHAR
 
Adbms 6 three schema database architecture
Vaibhav Khanna
 
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
BCS403_dyeuhfgidgujoiduhyopyirhyiuertfuiPPT.pdf
NaveenGRaju
 
DBMS-gggfffdddddssswwassssssdddschema.pptx
arunsarker45
 
PPT5_DataBaseManagement Systems_Three Schema Architecture.ppt
BHASKARADEPU2
 
Unit 1-Introduction to Database Systems.pptx
anumanenivbcd22
 
Unit 1 dbms
Sweta Singh
 
Database Management Systems (DBMS) are software systems used to store, retrie...
mayurjagdale4
 
APznzaa8jyCqEfOzIXqwAqxTBkpfxFd1OHN5G6XprVbamkoLUf3KcvZywfO4T71wgjvmg7lDxEuM5...
prabhdeeprai46
 
Database Management Systems.ppt
tahakhan699813
 
DATABASE MANAGEMENT SYSTEMS PPT .pptx
YogeshGarg228050
 
CS3270 - DATABASE SYSTEM - Lecture (2)
Dilawar Khan
 
PPT Lecture 1.3 Database System Administrator.pptx
AbhiGrover10
 
2nd chapter dbms.pptx
kavitha623544
 
1st Unit Rdjjkkijhghhjjiikjhttttyybms.pptx
ganesh81123
 
data base
Surya Swaroop
 
Unit 1 DBMS
DhivyaSubramaniyam
 
Ad

More from Aashima Wadhwa (14)

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

Recently uploaded (20)

PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PPTX
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PPTX
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PPTX
CDH. pptx
AneetaSharma15
 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
CDH. pptx
AneetaSharma15
 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 

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