Architecture Levels
Architecture Levels
External Schema
Conceptual Schema / Logical Schema
Internal Schema
Objectives of the 3 schemas
To enable multiple users to access the same data with a
Main Objective personalized view
To separates the user's view from the physical structure
Access paths.
For Example: Specification of primary and secondary keys,
indexes, pointers and sequencing.
At the external level, a database contains several schemas that sometimes called as
subschema.
Each view schema describes the database part that a particular user group is
interested and hides the remaining database from that user group.
Encryption of data
any relevant example e.g. only class tutors can edit details of pupils in their
tutor group
DBA
Create (regular / scheduled) backups
In case of loss/damage to the live data a copy is available
e.g. backing up the data at the end of each day and storing the data off-site/to a
separate device
Encryption of data
If there is unauthorized access to the data it cannot be understood, it should need a
decryption key
e.g. Bank details of an account holder are encrypted before being sent over the
DBA
Definition of different views
composed of one or more tables
records the use of the data in the database / records operations performed by all users /
all access to the data
example keeping track of record showing, who accessed the specific account
DATA DICTIONARY
Stores all the information about the database
data about the data
metadata about the database
Example:
table names
data types
field names
Relationships
Primary keys, foreign keys
Validation rules