Three Level Architecture
Three Level Architecture
ACHITECTURE
OBJECTIVES
needed.
External schema is a subset of the conceptual schema (sub-
schema)
The External Schema ctd
Describes that part of database that is relevant to a
particular user.
Conceptual Schema/Schema
Contains the logical structure of entire database seen
by the DBA.
Also known as the community view of the database.
◦ It is the complete view of data requirements of an organisation
The conceptual view represents:
◦ All entities and their attributes and relationships.
◦ Constraints on data (tables, views, and integrity constraints)
◦ Security and integrity of information
a representational data model is used to describe
the conceptual schema when a database system is
implemented. (ERD)
Conceptual Schema/Schema ctd
The level supports every external view in that
any data available to the user must be
contained in, or derivable from conceptual
level
The level does not contain any description
independence:
◦ Logical Data independence
◦ Physical data independence
Logical data independence
Refers to immunity of external schemas to changes in
conceptual schema.
◦ is the capacity to change the conceptual schema without
having to change external schemas or application
programs.
◦ Conceptual schema changes (e.g. addition/removal of entities).
We may change the conceptual schema to expand
the database (by adding a record type or data
item), to change constraints, or to reduce the
database (by removing a record type or data item).
Should not require changes to external schema
independence?
Conclusion
As a database designer, it is important to
understand the three-level architecture
especially the conceptual schema because all
data needs are defined at that level.
References
Elmasri, R. & Navathe, S., 2013. Fundamentals
of Database Systems. 4th ed. Boston: Digital
Vision.
Ramakrishnan, R. & Gehrke, J., 2010. Database
management Systems. 4th ed. New York:
MaGraw-Hill.
Rob, P. & Coronel, C., 2012. Database Systems:
Design Implementation and Management. 8th
ed. Massachuets: Course Technology.