data abstraction
data abstraction
com/studio/library/data-abstractions-in-dbms
2.Logical level: Describes the relationship which exists among the stored
data.
https://www.prepbytes.com/blog/dbms/levels-of-abstraction-in-dbms/
Ques 1. What is data independence in DBMS?
Ans. Data independence in DBMS refers to the ability to make
changes to the physical storage and access methods without affecting
the external or conceptual levels.
https://www.geeksforgeeks.org/data-abstraction-and-data-independence/
Data Abstraction and Data
Independence
Database systems comprise complex data structures. In order to make
the system efficient in terms of retrieval of data, and reduce complexity
in terms of usability of users, developers use abstraction i.e. hide
irrelevant details from the users. This approach simplifies database
design.
Level of Abstraction in a DBMS
There are mainly 3 levels of data abstraction:
The logical level thus describes the entire database in terms of a small
number of relatively simple structures. Although implementation of the
simple structures at the logical level may involve complex physical-level
structures, the user of the logical level does not need to be aware of this
complexity. This is referred to as physical data independence. Database
administrators, who must decide what information to keep in the
database, use the logical level of abstraction.
View or External Level
This is the highest level of abstraction. Only a part of the actual database
is viewed by the users. This level exists to ease the accessibility of the
database by an individual user. Users view data in the form of rows and
columns. Tables and relations are used to store data. Multiple views of
the same database may exist. Users can just view the data and interact
with the database, storage and implementation details are hidden from
them. Even though the logical level uses simpler structures, complexity
remains because of the variety of information stored in a large database.
Many users of the database system do not need all this information;
instead, they need to access only a part of the database. The view level
of abstraction exists to simplify their interaction with the system
Example: In case of storing customer data,
Physical level – it will contains block of storages (bytes,GB,TB,etc)
Logical level – it will contain the fields and the attributes of data.
View level – it works with CLI or GUI access of database
Data Abstraction