Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Database architecture

Database architecture focuses on the design, development, implementation and


maintenance of computer programs that store and organize information for organization.

The DBMS architecture is divided into three levels or views: The External level/view The
conceptual level/view The internal level/view Main purpose of DBMS is to provide the user with
the abstract view of the data base. This means that system does not provide all the detail of the
data, rather it hide the details of how data is stored and maintained

Objectives of three level architecture are:


1.The DBA can change the structure of database. i.e without changing the application program
e.g external schema.
2.Each user can access the data according to his/her requirements.
3.Users are independent of the storage complexities like indexing constraints etc of the database.
4.The conceptual structure of the database has no effect due to the change of the physical storage
devices.
1. Physical Level

This is the lowest level in the architecture and has the raw information about the data.
This layer consists how data is stored in files, how they are organised and what data
structures they are using. This layer deals with the persistent storage of database.

 Physical level describes the physical storage structure of data in database.


 It is also known as Internal Level.
 This level is very close to physical storage of data.
 At lowest level, it is stored in the form of bits with the physical addresses on the
secondary storage device.
 At highest level, it can be viewed in the form of files.
 The internal schema defines the various stored data types. It uses a physical data
model.
2. Conceptual Level

This level is having the information about how the data is, what type of the data is, what are
the constatiants, what are the relationship between the tables and what is the actual schema
of the database. This actually represents ER diagrams or relational tables.

 Conceptual level describes the structure of the whole database for a group of
users.
 It is also called as the data model.
 Conceptual schema is a representation of the entire content of the database.
 These schema contains all the information to build relevant external records.
 It hides the internal details of physical storage.
3. External Level

This just uses the data or records of the database or table. They just know the values of the
data. This layer is the mostly abstracted layer and the highest level in architecture.

 External level is related to the data which is viewed by individual end users.
 This level includes a no. of user views or external schema.
 This level is closest to the user.
 External view describes the segment of the database that is required for a
particular user group and hides the rest of the database from that user group.
Advantage of three level architecture

1. Each user is able to access the same data but have a different customized view of the
data as per their own needs.
2.A user can change his/her view and this change does not affect other user views
3. There user's interaction with the database is independent of physical data storage
organization.
4. The database administrator (DBA) is able to change the database storage structure
without affecting the user's view.
5. The database administrator (DBA) is able to change the conceptual structure of the
database without affecting all users.
6. The database administrator (DBA) can change existing storage devices with the new
storage devices without affecting others user's.

You might also like