Three Schema Architecture
Three Schema Architecture
Topperworld.in
⚫ The three schema architecture is also used to separate the user applications
and physical database.
©Topperworld
DBMS
◆ Mapping is not good for small DBMS because it takes more time.
✓ The approach in which a particular user needs to see the data may change
over time.
✓ The users of the database should not worry about the physical
implementation and internal workings of the database such as data
compression and encryption techniques, hashing, optimization of the
internal structures etc.
©Topperworld
DBMS
✓ All users should be able to access the same data according to their
requirements.
1. Internal Level
⚫ The internal level has an internal schema which describes the physical
storage structure of the database.
⚫ It uses the physical data model. It is used to define that how the data will
be stored in a block.
2) Access paths.
For Example: Specification of primary and secondary keys, indexes, pointers
and sequencing.
©Topperworld
DBMS
2. Conceptual Level
3. External Level
⚫ Each view schema describes the database part that a particular user
group is interested and hides the remaining database from that user
group.
⚫ The view schema describes the end user interaction with database
systems.
©Topperworld
DBMS
The Conceptual/ Internal Mapping lies between the conceptual level and the
internal level.
Its role is to define the correspondence between the records and fields of the
conceptual level and files and data structures of the internal level.
The external/Conceptual Mapping lies between the external level and the
Conceptual level. Its role is to define the correspondence between a particular
external and the conceptual view.
©Topperworld