2,145 views
4 votes
4 votes
which is difficult to achieve logical data independence or physical DI and why ?

does change in conceptual level affect both physical level (internal level) and extrenal level

and  does change in phyical level affect both conceptual and external level

1 Answer

Best answer
7 votes
7 votes

The ability to modify schema definition in one level without affecting schema definition in the next higher level is called data independence. There are two levels of data independence, they are Physical data independence and Logical data independence.

  1. Physical data independence is the ability to modify the physical schema without causing application programs to be rewritten. Modifications at the physical level are occasionally necessary to improve performance. It means we change the physical storage/level without affecting the conceptual or external view of the data. The new changes are absorbed by mapping techniques.
  2. Logical data independence is the ability to modify the logical schema without causing application program to be rewritten. Modifications at the logical level are necessary whenever the logical structure of the database is altered (for example, when money-market accounts are added to banking system). Logical Data independence means if we add some new columns or remove some columns from table then the user view and programs should not change. For example: consider two users A & B. Both are selecting the fields "EmployeeNumber" and "EmployeeName". If user B adds a new column (e.g. salary) to his table, it will not effect the external view for user A, though the internal schema of the database has been changed for both users A & B.

Logical data independence is more difficult to achieve than physical data independence, since application programs are heavily dependent on the logical structure of the data that they access.

Physical data independence means we change the physical storage/level without affecting the conceptual or external view of the data. Mapping techniques absorbs the new changes.

selected by

Related questions

0 votes
0 votes
1 answer
2
Raj Singh 1 asked Jan 3, 2019
5,044 views
Physical address is(A) The logical address added by the value in re-locatable registers(B) Re location register – logical address(C) Re location address + relocation re...
0 votes
0 votes
1 answer
3
Kxlpa asked Jun 5, 2018
457 views
This is one of a question in a past paper:On a simple paging system with $4GB$ of physical memory,$16GB$ of virtual memory,and a page size of $8KB$