Database System Concepts and Architecture PDF
Database System Concepts and Architecture PDF
ANSI-SPARC Architecture
The purpose and origin of the Three-Level database architecture
All users should be able to access same data. This is important since the database is
having a shared data feature where all the data is stored in one location and all users
will have their own customized way of interacting with the data.
A user's view is unaffected or immune to changes made in other views. Since the
requirement of one user is independent of the other, a change made in one user‘s
view should not affect other users.
Users should not need to know physical database storage details. As there are naïve
users of the system, hardware level or physical details should be a black-box for
such users.
DBA should be able to change database storage structures without affecting the
users' views. A change in file organization, access method should not affect the
structure of the data which in turn will have no effect on the users.
Internal structure of database should be unaffected by changes to physical aspects of
storage, such as change of hard disk
DBA should be able to change conceptual structure of database without affecting all
users. In any database system, the DBA will have the privilege to change the
structure of the database, like adding tables, adding and deleting an attribute,
changing the specification of the objects in the database.
All of the above and much more functionalities are possible due to the three level
ANSI-SPARC architecture.
13
Database Management Systems Lecture Note
1. External Level: Users' view of the database. It describes that part of database that is
relevant to a particular user. Different users have their own customized view of the
database independent of other users.
2. Conceptual Level: Community view of the database. Describes what data is stored
in database and relationships among the data along with the business constraints.
3. Internal Level: Physical representation of the database on the computer. Describes
how the data is stored in the database.
The following example can be taken as an illustration for the difference between the three
levels in the ANSI-SPARC database Architecture. Where:
The first level is concerned about the group of users and their respective data
requirement independent of the other.
The second level is describing the whole content of the database where one piece of
information will be represented once.
The third level
14
Database Management Systems Lecture Note
15
Database Management Systems Lecture Note
16
Database Management Systems Lecture Note
Department
Employee Job
17
Database Management Systems Lecture Note
18
Database Management Systems Lecture Note
Alternative terminologies
Relation Table File
Tuple Row Record
Attribute Column Field
19