Data Abstraction
Data Abstraction
The main purpose of data abstraction is to hide irrelevant data and provide an abstract view of the
data. With the help of data abstraction, developers hide irrelevant data from the user and provide
them the relevant data. By doing this, users can access the data without any hassle, and the system
will also work efficiently.
In DBMS, data abstraction is performed in layers which means there are levels of data abstraction in
DBMS that we will further study in this article. Based on these levels, the database management
system is designed.
In DBMS, there are three levels of data abstraction, which are as follows:
The physical or internal layer is the lowest level of data abstraction in the database management
system. It is the layer that defines how data is actually stored in the database. It defines methods to
access the data in the database. It defines complex data structures in detail, so it is very complex to
understand, which is why it is kept hidden from the end user.
Data Administrators (DBA) decide how to arrange data and where to store data. The Data
Administrator (DBA) is the person whose role is to manage the data in the database at the physical or
internal level. There is a data center that securely stores the raw data in detail on hard drives at this
level.
The logical or conceptual level is the intermediate or next level of data abstraction. It explains what
data is going to be stored in the database and what the relationship is between them.
It describes the structure of the entire data in the form of tables. The logical level or conceptual level
is less complex than the physical level. With the help of the logical level, Data Administrators (DBA)
abstract data from raw data present at the physical level.
View or External Level is the highest level of data abstraction. There are different views at this level
that define the parts of the overall data of the database. This level is for the end-user interaction; at
this level, end users can access the data based on their queries.