Dbms Schemas:: Internal, Conceptual, External
Dbms Schemas:: Internal, Conceptual, External
SCHEMAS:
Internal, Conceptual, External
LEVELS OF DATA
ABSTRACTION
Database systems comprise of complex data structures. Thus, to make the system efficient for
retrieval of data and reduce the complexity of the users, developers use the method of Data
Abstraction.
There are mainly three levels of data abstraction:
In the conceptual level, the data available to a user must be contained in or derivable from the
physical level
EXTERNAL SCHEMA/LEVEL
An external schema describes the part of the database which specific user is interested in. It hides the
unrelated details of the database from the user. There may be "n" number of external views for each database.
Each external view is defined using an external schema, which consists of definitions of various types of
external record of that specific view.
An external view is just the content of the database as it is seen by some specific particular user. For example,
a user from the sales department will see only sales related data.
Facts about external schema:
An external level is only related to the data which is viewed by specific end users.
This level includes some external schemas.
External schema level is nearest to the user
The external schema describes the segment of the database which is needed for a certain user group and hides
the remaining details from the database from the specific user group
GOAL OF 3 LEVEL/SCHEMA OF DATABASE
Complete DB Schema is a complex structure which is difficult to understand for every one
Difficult to set up and maintain
The physical separation of the tiers can affect the performance of the Database
SUMMARY
There are mainly three levels of data abstraction: Internal Level, Conceptual or Logical Level
or External or View level
The internal schema defines the physical storage structure of the database
The conceptual schema describes the Database structure of the whole database for the
community of users
An external schema describe the part of the database which specific user is interested in
DBMS Architecture allows you to make changes on the presentation level without affecting
the other two layers