Skip to content
  • Facebook
GeekCer Logo

GeekCer

The geek's Coding education and Review centre

  • Home
  • Tutorials
    • Java
    • Servlet
    • JSP
    • Python
    • C Tutorial
    • Spring
    • Spring Boot
    • MongoDB
    • Hibernate
    • Data Structure
  • General Knowledge
  • Biography
  • Grammar
  • Festival (त्योहार)
  • Interview
  • Differences
  • Important
  • Toggle search form

Home » dbms » Data Independence in DBMS and Types (Logical and Physical)

  • Newton's laws of Motion, State and Explained, Formula
    Newton’s laws of Motion, State and Explained, Formula Science
  • Chemical Properties of Matter (Element, Compound and Mixture)
    Chemical Properties of Matter examples (Element, Compound and Mixture) Science
  • World Environment Day in Hindi : Objective, Importance, Theme
    World Environment Day in Hindi : Objective, Importance, Theme General Knowledge
  • Christmas Day Celebration
    Christmas Day Celebration | Story about Christmas day Festival
  • Jhansi Ki Rani Lakshmi Bai History, Story, Information in Hindi
    Jhansi Ki Rani Lakshmi Bai History, Story, Information in Hindi Biography
  • Pythagorean Theorem in Hindi, Definition
    Pythagorean Theorem in Hindi, Definition, Formula, Proof पाइथागोरस थ्योरम क्या है जानिए हिंदी में? Science
  • Ayodhya Kand in Hindi | अयोध्या काण्ड | राम को 14 वर्ष का वनवास
    Ayodhya Kand in Hindi | अयोध्या काण्ड | राम को 14 वर्ष का वनवास Spiritual
  • Rabindranath Tagore Biography in Hindi, Poems, Birthday
    Rabindranath Tagore Biography in Hindi, Title of Gurudev Biography

Data Independence in DBMS and Types (Logical and Physical)

Posted on May 28, 2022May 28, 2022 By GeekCer Education No Comments on Data Independence in DBMS and Types (Logical and Physical)
Data Independence in DBMS and Types (Logical and Physical)

Data independence in DBMS is the ability to change the schema at one level of the database without impacting the schema at the other (next higher) level. You can keep data independent from the programs that use it by using data independence.

Why data independence is important? The main goal of data independence is to increase the database system’s quality and maintainability. It also increases database security standards, and it’s simple to change any level without affecting others.

There are three layers of database abstraction, as we all know.  To get data independency in database, these three levels are required. If one level is modified, the other level should be unaffected.

Click here to get the idea of Database Schema Level

Table of Contents

  • Types of Data Independence in DBMS
  • Logical Data Independence in DBMS
  • Physical Data Independence example in DBMS
  • Physical Data Independence in DBMS
  • Physical Data Independence example in DBMS
  • Difference between Physical and Logical Data Independence

Types of Data Independence in DBMS

There are two types of data independence in DBMS.

  • Logical Data Independence
  • Physical Data Independence

Logical Data Independence in DBMS

Logical data independence is the ability to update the logical data without affecting or changing the physical/external data.

For example, A table/relation is a logical data collection in the traditional sense. A constraint can exist in a table. Any modifications we make to the table (such as a constraint) there will be no effect on the data saved to disk.

Physical Data Independence example in DBMS

These are the following physical data independence examples in DBMS.

  • Adding/modifying/deleting column/attribute from table/relation.
  • Breaking or merging table/relation records.

Physical Data Independence in DBMS

Physical data independence is the ability to update the external data without affecting or changing the logical data.

For example, If the storage is full, you may need to expand the storage, update the storage, or relocate the database storage to a different place. The logical data should not be impacted in this scenario.

Physical Data Independence example in DBMS

These are the following logical data independence examples in DBMS.

  • Change the drive for database, for example, from D to C.
  • If you require additional database storage and upgrading storage.
  • If you wish to modify the data access mechanism and switch to a different data structure.
  • Changing the compression or the hashing algorithm if you are using any data compression.

Difference between Physical and Logical Data Independence

Physical Data IndependenceLogical Data Independence
Physical data independence enables you to update the physical schema without changing your application program.Without changing the application program, Logical Data Independence modifies the logical schema.
Physical data independence is simple to regain.Data retrieval is complex since it is mostly dependent on the data’s logical structure.
Mainly related to data storage.Changing the structure or data specification is the main focus.
Internal changes may or may not be required to improve the system’s structure’s performance.We should make changes at the logical level regardless of whether we wish to change the database structure.
Only a few examples include changes in compression technology, storage devices, and hashing approaches.For example: Adding, deleting, or changing an attribute in the system.

Hope you got the basic idea of data independency in database. If you have any doubts or need clarification, feel free to contact us on the contact section. You can also comment in the comment section.

You Might Like:

  • DBMS Architecture and Types
  • Structured Vs Unstructured Data difference
  • Acid in DBMS

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • More
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Also Read

dbms Tags:Physical and Logical Data Independence, What does the term data independence mean?, What is data independence?, What is Data independency?

Post navigation

Previous Post: DBMS Architecture in Hindi and Type : 1-Tier, 2-Tier and 3-Tier

More Related Articles

DBMS Architecture in Hindi and Type : 1-Tier, 2-Tier and 3-Tier DBMS Architecture in Hindi and Type : 1-Tier, 2-Tier and 3-Tier dbms

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • National Farmers Day in Hindi | राष्ट्रीय किसान दिवस पर निबंध | चौधरी चरण सिंह जयंती
  • Human rights day in Hindi: 10 दिसंबर ह्यूमन राइट्स डे
  • Unicef day is celebrated on December 11 | Speech on unicef day
  • Indian Navy Day: जल सेना दिवस कब और क्यों मनाया जाता है?
  • P V Sindhu Biography in Hindi, Badminton, State, Caste पी. वी. सिंधु जीवन परिचय, कहानी, राज्य, जाति
  • Draupadi Murmu Biography In Hindi | द्रौपदी मुर्मू की जीवनी
  • OSI Model | 7 Layers of OSI Model in Computer network
    OSI Model | 7 Layers of OSI Model in Computer network, Functions Networking
  • IPv4 Vs IPv6 | Difference between IPv4 and IPv6
    IPv4 Vs IPv6 | Difference between IPv4 and IPv6 Differences
  • TCP/IP Model, Full Form, Layers and their Functions
    TCP/IP Model, Full Form, Layers and their Functions Networking
  • Similarities and difference between OSI and TCP/IP model
    OSI vs TCP/IP Model, Similarities and difference between OSI and TCP/IP model Networking
  • Difference between Internet and Intranet
    Difference between Internet and Intranet Differences
  • Network kya hai (नेटवर्क क्या है)
    Network kya hai (नेटवर्क क्या है) Networking
  • Difference between TCP and UDP
    Difference between TCP and UDP | TCP vs UDP examples Differences
  • Java Tutorial
  • Servlet Tutorial
  • JSP Tutorial
  • Maven Tutorial
  • HTML Tutorial
  • Programs
  • Hindi/English Grammar
  • Difference Between ... and ...
  • HR Interview
  • Important Articles

Write to Us:
geekcer.code@gmail.com

  • About Us
  • Privacy and Policy
  • Disclaimer
  • Contact Us
  • Sitemap

Copyright © GeekCer 2022 All Rights reserved