SlideShare a Scribd company logo
3
Most read
7
Most read
8
Most read
Physical and Logical data
     Independence
         By Umli
Logical Data Independence
What do you mean by 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.
physical and logical data independence
Physical Data Independence
What do you mean by 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.
Entity Relationship
Elements of E-R Model
    In the E/R model, the structure of data is represented
     graphically, as an “entity-relationship diagram,” using
     three Principal element types:
     Entity Sets.
        An entity is an abstract object of some sort, and a
          collection of similar entities forms an entity set.
     Attributes
        The properties of the entities in the set.
     Relationship
        The connections among two or more entity Sets
Example of Elements of E-R Model
  Entity Sets
   Departments
   Professors
   Students
   Administrators

  Attributes
   Name of Departments, Phone No., Address...
   Name, SSN, Address of Professors...

  Relationship
   Students and Professors are under a certain department
   Admin manage the campus/ departments
physical and logical data independence
Attribute
 An attribute is an item of data held about an
 entity

 In computer systems an attribute is a field of
 information

 Example : Sales System
   Entity : Customer
   Attributes     :  Customer   Name,   Customer
    Address, Customer Phone Number
 A key attribute uniquely identifies a specific occurrence of an
  entity
 This may also be referred to as a primary key
 Examples of primary keys include:


   ISBN
   Student Number
   Staff ID

For Example
 In a Sales System, customer name and address are
  attributes of the entity customer.

 The primary key is likely to be Customer Code or
  Customer ID as the unique identifier for each customer in
  the system.
physical and logical data independence
Example: A library database contains a listing of authors
that have written books on various subjects (one author per
book). It also contains information about libraries that carry
books on various subjects.
      Entity sets: authors, subjects, books, libraries
      Relationship sets: wrote, carry, indexed

                                                             Subject
                                    title     isbn           matter

    SS#
           authors     wrote       books             index   subject
   name

                     quantity      carry


                     address      libraries
Entity-Relationship (E-R) Model
COURSE#   CTITILE            PROF             SCHED



 ROOM
                    COURSE




                     ENROLL            GRADE



                    STUDENT



  STUID   SNAME      MAJOR          CREDITS
Example of the 3 elements in Entity
Relationship Diagram
                 Attribute      Attribute


     Attribute


                       Entity      Entity      Entity
                        A           B           C




                                Relationship
physical and logical data independence

More Related Content

PPTX
Structure of dbms
PPTX
Chapter-7 Relational Calculus
PPT
Data independence
PPTX
Relational algebra ppt
PDF
Enhanced Entity-Relationship (EER) Modeling
PPTX
Database abstraction
PDF
Dbms 14: Relational Calculus
PPTX
Query processing
Structure of dbms
Chapter-7 Relational Calculus
Data independence
Relational algebra ppt
Enhanced Entity-Relationship (EER) Modeling
Database abstraction
Dbms 14: Relational Calculus
Query processing

What's hot (20)

PDF
Dbms 3: 3 Schema Architecture
PPTX
Types Of Keys in DBMS
PPT
Entity relationship modelling
PPTX
Data mining tasks
PPTX
Distributed database management system
PDF
Query trees
PPTX
PPTX
Database Management System, Lecture-1
PPTX
Introduction to Data Science
PPSX
Functional dependency
PPTX
1.4 data independence
PPT
Files Vs DataBase
PPTX
database language ppt.pptx
PPTX
Distributed database
PPTX
State space search
PDF
Relational algebra in dbms
PPTX
Database user and administrator.pptx
PPTX
Replication Techniques for Distributed Database Design
Dbms 3: 3 Schema Architecture
Types Of Keys in DBMS
Entity relationship modelling
Data mining tasks
Distributed database management system
Query trees
Database Management System, Lecture-1
Introduction to Data Science
Functional dependency
1.4 data independence
Files Vs DataBase
database language ppt.pptx
Distributed database
State space search
Relational algebra in dbms
Database user and administrator.pptx
Replication Techniques for Distributed Database Design
Ad

Similar to physical and logical data independence (20)

PPTX
Dbms logical dependance
PPTX
PPTX
03 - Introduction to Database Design.pptx
PPT
Data Modeling Er
PDF
Database Modeling
PPTX
Introduction of Database Design and Development
PPTX
How to Draw an Effective ER diagram
PPTX
ER Modeling and Introduction to RDBMS
PDF
Unit 2-Data Modeling.pdf
PPTX
rdbms3, dbms,dbms,rdbmssssssssssssssssssssssssssssssssss
PPT
27 fcs157al3
PPT
PDF
Database Systems - Entity Relationship Modeling (Chapter 4/2)
PPTX
Entity Relationship Model
PPTX
UNIT 1 INTRODUCTION TO DBMS, ER DIAGRAM, RELATION
PDF
chapter 3-Data Modelling using Entity Relationship .pdf
PPTX
The entity relationship model
PPT
Entity Relationship Diagram2
PPTX
Lecture7.pptx
PDF
ER Diag.pdfddcdjcjfvhjd jdkcjdnckenciebchehcksl
Dbms logical dependance
03 - Introduction to Database Design.pptx
Data Modeling Er
Database Modeling
Introduction of Database Design and Development
How to Draw an Effective ER diagram
ER Modeling and Introduction to RDBMS
Unit 2-Data Modeling.pdf
rdbms3, dbms,dbms,rdbmssssssssssssssssssssssssssssssssss
27 fcs157al3
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Entity Relationship Model
UNIT 1 INTRODUCTION TO DBMS, ER DIAGRAM, RELATION
chapter 3-Data Modelling using Entity Relationship .pdf
The entity relationship model
Entity Relationship Diagram2
Lecture7.pptx
ER Diag.pdfddcdjcjfvhjd jdkcjdnckenciebchehcksl
Ad

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Classroom Observation Tools for Teachers
PDF
Business Ethics Teaching Materials for college
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Basic Mud Logging Guide for educational purpose
PDF
VCE English Exam - Section C Student Revision Booklet
O7-L3 Supply Chain Operations - ICLT Program
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPH.pptx obstetrics and gynecology in nursing
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Microbial diseases, their pathogenesis and prophylaxis
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Classroom Observation Tools for Teachers
Business Ethics Teaching Materials for college
Final Presentation General Medicine 03-08-2024.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Supply Chain Operations Speaking Notes -ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
STATICS OF THE RIGID BODIES Hibbelers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Basic Mud Logging Guide for educational purpose
VCE English Exam - Section C Student Revision Booklet

physical and logical data independence

  • 1. Physical and Logical data Independence By Umli
  • 3. What do you mean by 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.
  • 4. 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.
  • 7. What do you mean by 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.
  • 8. 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.
  • 10. Elements of E-R Model  In the E/R model, the structure of data is represented graphically, as an “entity-relationship diagram,” using three Principal element types:  Entity Sets.  An entity is an abstract object of some sort, and a collection of similar entities forms an entity set.  Attributes  The properties of the entities in the set.  Relationship  The connections among two or more entity Sets
  • 11. Example of Elements of E-R Model Entity Sets Departments Professors Students Administrators Attributes Name of Departments, Phone No., Address... Name, SSN, Address of Professors... Relationship Students and Professors are under a certain department Admin manage the campus/ departments
  • 13. Attribute  An attribute is an item of data held about an entity  In computer systems an attribute is a field of information  Example : Sales System  Entity : Customer  Attributes : Customer Name, Customer Address, Customer Phone Number
  • 14.  A key attribute uniquely identifies a specific occurrence of an entity  This may also be referred to as a primary key  Examples of primary keys include:  ISBN  Student Number  Staff ID For Example  In a Sales System, customer name and address are attributes of the entity customer.  The primary key is likely to be Customer Code or Customer ID as the unique identifier for each customer in the system.
  • 16. Example: A library database contains a listing of authors that have written books on various subjects (one author per book). It also contains information about libraries that carry books on various subjects. Entity sets: authors, subjects, books, libraries Relationship sets: wrote, carry, indexed Subject title isbn matter SS# authors wrote books index subject name quantity carry address libraries
  • 17. Entity-Relationship (E-R) Model COURSE# CTITILE PROF SCHED ROOM COURSE ENROLL GRADE STUDENT STUID SNAME MAJOR CREDITS
  • 18. Example of the 3 elements in Entity Relationship Diagram Attribute Attribute Attribute Entity Entity Entity A B C Relationship