02_Database_Environment
02_Database_Environment
Management
systems
Lecturer 2:
Database Environment
(Adopted from Connoly&Begg: Database systems)
Conceptual Level
Community view of the database.
Describes what data is stored in database and
relationships among the data.
ANSI-SPARC Three-Level
Architecture
Internal Level
Physical representation of the database on the computer.
Describes how the data is stored in the database.
Differences between Three Levels of
ANSI-SPARC Architecture
Data Independence
Logical Data Independence
Refers to immunity of external schemas to changes in
conceptual schema.
Conceptual schema changes (e.g. addition/removal of
entities).
Should not require changes to external schema or
rewrites of application programs.
Data Independence
Physical Data Independence
Refers to immunity of conceptual schema to changes in the
internal schema.
Internal schema changes (e.g. using different file
organizations, storage structures/devices).
Should not require change to conceptual or external
schemas.
Data Independence and the ANSI-
SPARC Three-Level Architecture
Database Languages