Data Abstraction and 3-Tier Architecture
Data Abstraction and 3-Tier Architecture
Due to Logical independence, any of the below change will not affect
the external layer.
Add/Modify/Delete a new attribute, entity or relationship is possible
without a rewrite of existing application programs
Merging two records into one
Breaking an existing record into two or more records
Difference Between Logical and Physical
Logical Data Independence Physical Data Independence
Logical Data Independence is mainly concerned with Mainly concerned with the storage of the data.
the structure or changing the data definition.
It is difficult as the retrieving of data is mainly It is easy to retrieve.
dependent on the logical structure of data.
Compared to Logic Physical independence it is difficult Compared to Logical Independence it is easy to achieve
to achieve logical data independence. physical data independence.
Data Independence
You need to make changes in the Application program if A change in the physical level usually does not need
new fields are added or deleted from the database. change at the Application program level.
Modification at the logical levels is significant whenever Modifications made at the internal levels may or may
the logical structures of the database are changed. not be needed to improve the performance of the
structure.
Concerned with conceptual schema Concerned with internal schema
Example: Add/Modify/Delete a new attribute Example: change in compression techniques, hashing
algorithms, storage devices, etc
Importance of Data Independence