Mirpur University of Science and Technology (Must), Mirpur Department Computer Science Information Technology
Mirpur University of Science and Technology (Must), Mirpur Department Computer Science Information Technology
Farzana Riaz
(Lecturer)
Date: ___________
Lecture Contents
• The American National Standards Institute (ANSI) Standards Planning and Requirements
Committee (SPARC) recognized the need for a three-level architecture with a system catalog (as
depicted in Fig. 1)
o An external level
o Aconceptual level
o An internal level
• The objective of the three-level architecture is to separate each user’s view of the database from the way the
database is physically represented.
o Each user should be able to access the same data, but have a different customized view of the data.
o The Database Administrator (DBA) should be able to change the database storage structures without affecting
the users’views.
o The internal structure of the database should be unaffected by changes to the physical aspects of storage, such
as the changeover to a new storage device.
o The DBAshould be able to change the conceptual structure of the database without affecting all users.
• This level describes that part of the database that is relevant to each user.
• The external level consists of a number of different external views of the database.
• Each user has a view of the ‘real world’represented in a form that is familiar for that user.
• The external view includes only those entities, attributes, and relationships in the ‘real world’ that
the user is interested in.
• This level describes what data is stored in the database and the relationships among the data.
• This level contains the logical structure of the entire database as seen by the DBA.
• It is a complete view of the data requirements of the organization that is independent of any storage
considerations.
• The conceptual level supports each external view, in that any data available to a user must be contained in, or
derivable from, the conceptual level.
• The Internal Level is the physical representation of the database on the computer.
• The internal level covers the physical implementation of the database to achieve optimal runtime
performance and storage space utilization.
• It covers the data structures and file organizations used to store data on storage devices.
o record placement
o Data compression
• Below the internal level there is a physical level that may be managed by the operating system
under the direction of the DBMS.
• The physical level below the DBMS consists of items only the operating system knows, such as:
o The fields of internal records are stored as contiguous bytes on the disk.