Lesson 3.1 The Three-Schema Architecture
Lesson 3.1 The Three-Schema Architecture
Lesson 3.1 The Three-Schema Architecture
elearn.xu.edu.ph/mod/book/tool/print/index.php?id=32771 1/7
8/30/2020 Lesson 3.1 The Three-Schema Architecture
Description
elearn.xu.edu.ph/mod/book/tool/print/index.php?id=32771 2/7
8/30/2020 Lesson 3.1 The Three-Schema Architecture
Table of contents
elearn.xu.edu.ph/mod/book/tool/print/index.php?id=32771 3/7
8/30/2020 Lesson 3.1 The Three-Schema Architecture
The three-schema architecture which is also called ANSI/SPARC architecture or three-level architecture is
a framework used to describe the structure of a specific database system.
The three-schema architecture is also used to separate the user applications and physical database and
it contains three-levels. It breaks the database down into three different categories:
elearn.xu.edu.ph/mod/book/tool/print/index.php?id=32771 4/7
8/30/2020 Lesson 3.1 The Three-Schema Architecture
At the external schema is the external level of a database. It represents the user’s view of the database. The
external schema contains multiple different external views. This schema is the one that is closely related to the
real world as perceived by each user.
Each view schema describes the database part that a particular user group is interested in and hides the
remaining database from that user group. It describes the end-user interaction with database systems. It
specifies which users are permitted access to specific data in a database. For example, a user from the sales
department will see only sales-related data.
elearn.xu.edu.ph/mod/book/tool/print/index.php?id=32771 5/7
8/30/2020 Lesson 3.1 The Three-Schema Architecture
The whole design of the database such as relationships among data are described in this level.
Semantic information (e.g., business rules), database constraints, and security are also implemented in this level
of architecture.
This schema is developed with diagrams that define the content of database tables and describe how the tables
are linked together for data access.
elearn.xu.edu.ph/mod/book/tool/print/index.php?id=32771 6/7
8/30/2020 Lesson 3.1 The Three-Schema Architecture
The internal level has an internal schema that describes the physical storage structure of the database.
It uses the physical data model, and define how the data will be stored in a block.
The physical level is used to describe complex low-level data structures in detail.
elearn.xu.edu.ph/mod/book/tool/print/index.php?id=32771 7/7